1
0
mirror of synced 2025-12-23 21:05:00 -05:00
Files
core/release-notes/6.0/api-diff/WindowsDesktop/6.0.0_System.Windows.Automation.md
Anirudh Agnihotry ccf6bbf5d0 add api diff between 5.0 & 6.0 targeting packs. (#6874)
* add api diff between 5.0 & 6.0

* Update release-notes/6.0/api-diff/Asp.Net/6.0.0.md

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2021-11-11 11:03:55 -08:00

2.6 KiB

System.Windows.Automation

 namespace System.Windows.Automation {
+    public sealed class ActiveTextPositionChangedEventArgs : AutomationEventArgs {
+        public ActiveTextPositionChangedEventArgs(ITextRangeProvider textRangeProvider);
+        public ITextRangeProvider TextRange { get; }
+    }
     public sealed class AutomationElement {
+        public static readonly AutomationEvent ActiveTextPositionChangedEvent;
+        public static readonly AutomationEvent NotificationEvent;
+        public static readonly AutomationProperty HeadingLevelProperty;
+        public static readonly AutomationProperty IsDialogProperty;
     }
     public static class AutomationElementIdentifiers {
+        public static readonly AutomationEvent ActiveTextPositionChangedEvent;
+        public static readonly AutomationEvent NotificationEvent;
+        public static readonly AutomationProperty HeadingLevelProperty;
+        public static readonly AutomationProperty IsDialogProperty;
     }
+    public enum AutomationHeadingLevel {
+        Level1 = 1,
+        Level2 = 2,
+        Level3 = 3,
+        Level4 = 4,
+        Level5 = 5,
+        Level6 = 6,
+        Level7 = 7,
+        Level8 = 8,
+        Level9 = 9,
+        None = 0,
+    }
+    public enum AutomationNotificationKind {
+        ActionAborted = 3,
+        ActionCompleted = 2,
+        ItemAdded = 0,
+        ItemRemoved = 1,
+        Other = 4,
+    }
+    public enum AutomationNotificationProcessing {
+        All = 2,
+        CurrentThenMostRecent = 4,
+        ImportantAll = 0,
+        ImportantMostRecent = 1,
+        MostRecent = 3,
+    }
     public static class AutomationProperties {
+        public static readonly DependencyProperty HeadingLevelProperty;
+        public static readonly DependencyProperty IsDialogProperty;
+        public static AutomationHeadingLevel GetHeadingLevel(DependencyObject element);
+        public static bool GetIsDialog(DependencyObject element);
+        public static void SetHeadingLevel(DependencyObject element, AutomationHeadingLevel value);
+        public static void SetIsDialog(DependencyObject element, bool value);
     }
+    public sealed class NotificationEventArgs : AutomationEventArgs {
+        public NotificationEventArgs(AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, string displayString, string activityId);
+        public string ActivityId { get; }
+        public string DisplayString { get; }
+        public AutomationNotificationKind NotificationKind { get; }
+        public AutomationNotificationProcessing NotificationProcessing { get; }
+    }
 }