1
0
mirror of synced 2025-12-21 02:41:55 -05:00
Files
core/release-notes/6.0/api-diff/WindowsDesktop/6.0.0_System.Windows.Automation.md
Rich Lander 8c8e5836c3 Fix linter errors in repo (#9689)
* Fix linter errors

* Update links
2025-01-13 21:40:52 -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; }
+    }
 }