155 references to AutomationElementIdentifiers
PresentationCore (69)
MS\Internal\Automation\EventMap.cs (22)
29
if ( id ==
AutomationElementIdentifiers
.ToolTipOpenedEvent.Id
30
|| id ==
AutomationElementIdentifiers
.ToolTipClosedEvent.Id
31
|| id ==
AutomationElementIdentifiers
.MenuOpenedEvent.Id
32
|| id ==
AutomationElementIdentifiers
.MenuClosedEvent.Id
33
|| id ==
AutomationElementIdentifiers
.AutomationFocusChangedEvent.Id
41
|| id ==
AutomationElementIdentifiers
.AsyncContentLoadedEvent.Id
42
|| id ==
AutomationElementIdentifiers
.AutomationPropertyChangedEvent.Id
43
|| id ==
AutomationElementIdentifiers
.StructureChangedEvent.Id
58
if ( id ==
AutomationElementIdentifiers
.LiveRegionChangedEvent?.Id
59
|| id ==
AutomationElementIdentifiers
.NotificationEvent?.Id
60
|| id ==
AutomationElementIdentifiers
.ActiveTextPositionChangedEvent?.Id)
87
case AutomationEvents.ToolTipOpened: eventObject =
AutomationElementIdentifiers
.ToolTipOpenedEvent; break;
88
case AutomationEvents.ToolTipClosed: eventObject =
AutomationElementIdentifiers
.ToolTipClosedEvent; break;
89
case AutomationEvents.MenuOpened: eventObject =
AutomationElementIdentifiers
.MenuOpenedEvent; break;
90
case AutomationEvents.MenuClosed: eventObject =
AutomationElementIdentifiers
.MenuClosedEvent; break;
91
case AutomationEvents.AutomationFocusChanged: eventObject =
AutomationElementIdentifiers
.AutomationFocusChangedEvent; break;
99
case AutomationEvents.AsyncContentLoaded: eventObject =
AutomationElementIdentifiers
.AsyncContentLoadedEvent; break;
100
case AutomationEvents.PropertyChanged: eventObject =
AutomationElementIdentifiers
.AutomationPropertyChangedEvent; break;
101
case AutomationEvents.StructureChanged: eventObject =
AutomationElementIdentifiers
.StructureChangedEvent; break;
105
case AutomationEvents.LiveRegionChanged: eventObject =
AutomationElementIdentifiers
.LiveRegionChangedEvent; break;
106
case AutomationEvents.Notification: eventObject =
AutomationElementIdentifiers
.NotificationEvent; break;
107
case AutomationEvents.ActiveTextPositionChanged: eventObject =
AutomationElementIdentifiers
.ActiveTextPositionChangedEvent; break;
System\Windows\Automation\Peers\AutomationPeer.cs (47)
356
AutomationElementIdentifiers
.AsyncContentLoadedEvent,
379
AutomationElementIdentifiers
.NotificationEvent,
2048
AutomationElementIdentifiers
.ItemStatusProperty,
2060
AutomationElementIdentifiers
.NameProperty,
2072
AutomationElementIdentifiers
.IsOffscreenProperty,
2084
AutomationElementIdentifiers
.IsEnabledProperty,
2185
if(
AutomationElementIdentifiers
.HeadingLevelProperty != null && propertyId ==
AutomationElementIdentifiers
.HeadingLevelProperty.Id)
2397
s_propertyInfo[
AutomationElementIdentifiers
.IsControlElementProperty.Id] = new GetProperty(IsControlElement);
2398
s_propertyInfo[
AutomationElementIdentifiers
.ControlTypeProperty.Id] = new GetProperty(GetControlType);
2399
s_propertyInfo[
AutomationElementIdentifiers
.IsContentElementProperty.Id] = new GetProperty(IsContentElement);
2400
s_propertyInfo[
AutomationElementIdentifiers
.LabeledByProperty.Id] = new GetProperty(GetLabeledBy);
2401
s_propertyInfo[
AutomationElementIdentifiers
.NativeWindowHandleProperty.Id] = new GetProperty(GetNativeWindowHandle);
2402
s_propertyInfo[
AutomationElementIdentifiers
.AutomationIdProperty.Id] = new GetProperty(GetAutomationId);
2403
s_propertyInfo[
AutomationElementIdentifiers
.ItemTypeProperty.Id] = new GetProperty(GetItemType);
2404
s_propertyInfo[
AutomationElementIdentifiers
.IsPasswordProperty.Id] = new GetProperty(IsPassword);
2405
s_propertyInfo[
AutomationElementIdentifiers
.LocalizedControlTypeProperty.Id] = new GetProperty(GetLocalizedControlType);
2406
s_propertyInfo[
AutomationElementIdentifiers
.NameProperty.Id] = new GetProperty(GetName);
2407
s_propertyInfo[
AutomationElementIdentifiers
.AcceleratorKeyProperty.Id] = new GetProperty(GetAcceleratorKey);
2408
s_propertyInfo[
AutomationElementIdentifiers
.AccessKeyProperty.Id] = new GetProperty(GetAccessKey);
2409
s_propertyInfo[
AutomationElementIdentifiers
.HasKeyboardFocusProperty.Id] = new GetProperty(HasKeyboardFocus);
2410
s_propertyInfo[
AutomationElementIdentifiers
.IsKeyboardFocusableProperty.Id] = new GetProperty(IsKeyboardFocusable);
2411
s_propertyInfo[
AutomationElementIdentifiers
.IsEnabledProperty.Id] = new GetProperty(IsEnabled);
2412
s_propertyInfo[
AutomationElementIdentifiers
.BoundingRectangleProperty.Id] = new GetProperty(GetBoundingRectangle);
2413
s_propertyInfo[
AutomationElementIdentifiers
.ProcessIdProperty.Id] = new GetProperty(GetCurrentProcessId);
2414
s_propertyInfo[
AutomationElementIdentifiers
.RuntimeIdProperty.Id] = new GetProperty(GetRuntimeId);
2415
s_propertyInfo[
AutomationElementIdentifiers
.ClassNameProperty.Id] = new GetProperty(GetClassName);
2416
s_propertyInfo[
AutomationElementIdentifiers
.HelpTextProperty.Id] = new GetProperty(GetHelpText);
2417
s_propertyInfo[
AutomationElementIdentifiers
.ClickablePointProperty.Id] = new GetProperty(GetClickablePoint);
2418
s_propertyInfo[
AutomationElementIdentifiers
.CultureProperty.Id] = new GetProperty(GetCultureInfo);
2419
s_propertyInfo[
AutomationElementIdentifiers
.IsOffscreenProperty.Id] = new GetProperty(IsOffscreen);
2420
s_propertyInfo[
AutomationElementIdentifiers
.OrientationProperty.Id] = new GetProperty(GetOrientation);
2421
s_propertyInfo[
AutomationElementIdentifiers
.FrameworkIdProperty.Id] = new GetProperty(GetFrameworkId);
2422
s_propertyInfo[
AutomationElementIdentifiers
.IsRequiredForFormProperty.Id] = new GetProperty(IsRequiredForForm);
2423
s_propertyInfo[
AutomationElementIdentifiers
.ItemStatusProperty.Id] = new GetProperty(GetItemStatus);
2424
if (!AccessibilitySwitches.UseNetFx47CompatibleAccessibilityFeatures &&
AutomationElementIdentifiers
.LiveSettingProperty != null)
2426
s_propertyInfo[
AutomationElementIdentifiers
.LiveSettingProperty.Id] = new GetProperty(GetLiveSetting);
2428
if (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures &&
AutomationElementIdentifiers
.ControllerForProperty != null)
2430
s_propertyInfo[
AutomationElementIdentifiers
.ControllerForProperty.Id] = new GetProperty(GetControllerFor);
2432
if (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures &&
AutomationElementIdentifiers
.SizeOfSetProperty != null)
2434
s_propertyInfo[
AutomationElementIdentifiers
.SizeOfSetProperty.Id] = new GetProperty(GetSizeOfSet);
2436
if (!AccessibilitySwitches.UseNetFx472CompatibleAccessibilityFeatures &&
AutomationElementIdentifiers
.PositionInSetProperty != null)
2438
s_propertyInfo[
AutomationElementIdentifiers
.PositionInSetProperty.Id] = new GetProperty(GetPositionInSet);
2440
if (
AutomationElementIdentifiers
.HeadingLevelProperty != null)
2442
s_propertyInfo[
AutomationElementIdentifiers
.HeadingLevelProperty.Id] = new GetProperty(GetHeadingLevel);
2444
if (
AutomationElementIdentifiers
.IsDialogProperty != null)
2446
s_propertyInfo[
AutomationElementIdentifiers
.IsDialogProperty.Id] = new GetProperty(IsDialog);
PresentationFramework (10)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
498
else if (propertyId ==
AutomationElementIdentifiers
.NameProperty.Id)
515
else if (propertyId == 0 || propertyId ==
AutomationElementIdentifiers
.ControlTypeProperty.Id)
519
if (propertyId ==
AutomationElementIdentifiers
.ControlTypeProperty.Id && (int)value != ControlType.Button.Id)
System\Windows\Automation\Peers\ContentTextAutomationPeer.cs (1)
41
AutomationElementIdentifiers
.ActiveTextPositionChangedEvent,
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (3)
330
if (
AutomationElementIdentifiers
.NameProperty.Id == id)
332
else if (
AutomationElementIdentifiers
.AutomationIdProperty.Id == id)
334
else if (
AutomationElementIdentifiers
.ControlTypeProperty.Id == id)
System\Windows\Automation\Peers\TextAutomationPeer.cs (1)
40
AutomationElementIdentifiers
.ActiveTextPositionChangedEvent,
System\Windows\Controls\TextRangeAdaptor.cs (2)
1226
return
AutomationElementIdentifiers
.NotSupported;
1796
return
AutomationElementIdentifiers
.NotSupported;
UIAutomationClient (66)
System\Windows\Automation\AutomationElement.cs (64)
96
public static readonly object NotSupported =
AutomationElementIdentifiers
.NotSupported;
99
public static readonly AutomationProperty IsControlElementProperty =
AutomationElementIdentifiers
.IsControlElementProperty;
102
public static readonly AutomationProperty ControlTypeProperty =
AutomationElementIdentifiers
.ControlTypeProperty;
105
public static readonly AutomationProperty IsContentElementProperty =
AutomationElementIdentifiers
.IsContentElementProperty;
108
public static readonly AutomationProperty LabeledByProperty =
AutomationElementIdentifiers
.LabeledByProperty;
111
public static readonly AutomationProperty NativeWindowHandleProperty =
AutomationElementIdentifiers
.NativeWindowHandleProperty;
114
public static readonly AutomationProperty AutomationIdProperty =
AutomationElementIdentifiers
.AutomationIdProperty;
117
public static readonly AutomationProperty ItemTypeProperty =
AutomationElementIdentifiers
.ItemTypeProperty;
120
public static readonly AutomationProperty IsPasswordProperty =
AutomationElementIdentifiers
.IsPasswordProperty;
123
public static readonly AutomationProperty LocalizedControlTypeProperty =
AutomationElementIdentifiers
.LocalizedControlTypeProperty;
126
public static readonly AutomationProperty NameProperty =
AutomationElementIdentifiers
.NameProperty;
129
public static readonly AutomationProperty AcceleratorKeyProperty =
AutomationElementIdentifiers
.AcceleratorKeyProperty;
132
public static readonly AutomationProperty AccessKeyProperty =
AutomationElementIdentifiers
.AccessKeyProperty;
135
public static readonly AutomationProperty HasKeyboardFocusProperty =
AutomationElementIdentifiers
.HasKeyboardFocusProperty;
138
public static readonly AutomationProperty IsKeyboardFocusableProperty =
AutomationElementIdentifiers
.IsKeyboardFocusableProperty;
141
public static readonly AutomationProperty IsEnabledProperty =
AutomationElementIdentifiers
.IsEnabledProperty;
144
public static readonly AutomationProperty BoundingRectangleProperty =
AutomationElementIdentifiers
.BoundingRectangleProperty;
147
public static readonly AutomationProperty ProcessIdProperty =
AutomationElementIdentifiers
.ProcessIdProperty;
150
public static readonly AutomationProperty RuntimeIdProperty =
AutomationElementIdentifiers
.RuntimeIdProperty;
153
public static readonly AutomationProperty ClassNameProperty =
AutomationElementIdentifiers
.ClassNameProperty;
156
public static readonly AutomationProperty HelpTextProperty =
AutomationElementIdentifiers
.HelpTextProperty;
159
public static readonly AutomationProperty ClickablePointProperty =
AutomationElementIdentifiers
.ClickablePointProperty;
162
public static readonly AutomationProperty CultureProperty =
AutomationElementIdentifiers
.CultureProperty;
165
public static readonly AutomationProperty IsOffscreenProperty =
AutomationElementIdentifiers
.IsOffscreenProperty;
168
public static readonly AutomationProperty OrientationProperty =
AutomationElementIdentifiers
.OrientationProperty;
171
public static readonly AutomationProperty FrameworkIdProperty =
AutomationElementIdentifiers
.FrameworkIdProperty;
174
public static readonly AutomationProperty IsRequiredForFormProperty =
AutomationElementIdentifiers
.IsRequiredForFormProperty;
177
public static readonly AutomationProperty ItemStatusProperty =
AutomationElementIdentifiers
.ItemStatusProperty;
183
public static readonly AutomationProperty SizeOfSetProperty =
AutomationElementIdentifiers
.SizeOfSetProperty;
189
public static readonly AutomationProperty PositionInSetProperty =
AutomationElementIdentifiers
.PositionInSetProperty;
194
public static readonly AutomationProperty HeadingLevelProperty =
AutomationElementIdentifiers
.HeadingLevelProperty;
199
public static readonly AutomationProperty IsDialogProperty =
AutomationElementIdentifiers
.IsDialogProperty;
203
public static readonly AutomationProperty IsDockPatternAvailableProperty =
AutomationElementIdentifiers
.IsDockPatternAvailableProperty;
205
public static readonly AutomationProperty IsExpandCollapsePatternAvailableProperty =
AutomationElementIdentifiers
.IsExpandCollapsePatternAvailableProperty;
207
public static readonly AutomationProperty IsGridItemPatternAvailableProperty =
AutomationElementIdentifiers
.IsGridItemPatternAvailableProperty;
209
public static readonly AutomationProperty IsGridPatternAvailableProperty =
AutomationElementIdentifiers
.IsGridPatternAvailableProperty;
211
public static readonly AutomationProperty IsInvokePatternAvailableProperty =
AutomationElementIdentifiers
.IsInvokePatternAvailableProperty;
213
public static readonly AutomationProperty IsMultipleViewPatternAvailableProperty =
AutomationElementIdentifiers
.IsMultipleViewPatternAvailableProperty;
215
public static readonly AutomationProperty IsRangeValuePatternAvailableProperty =
AutomationElementIdentifiers
.IsRangeValuePatternAvailableProperty;
217
public static readonly AutomationProperty IsSelectionItemPatternAvailableProperty =
AutomationElementIdentifiers
.IsSelectionItemPatternAvailableProperty;
219
public static readonly AutomationProperty IsSelectionPatternAvailableProperty =
AutomationElementIdentifiers
.IsSelectionPatternAvailableProperty;
221
public static readonly AutomationProperty IsScrollPatternAvailableProperty =
AutomationElementIdentifiers
.IsScrollPatternAvailableProperty;
223
public static readonly AutomationProperty IsSynchronizedInputPatternAvailableProperty =
AutomationElementIdentifiers
.IsSynchronizedInputPatternAvailableProperty;
225
public static readonly AutomationProperty IsScrollItemPatternAvailableProperty =
AutomationElementIdentifiers
.IsScrollItemPatternAvailableProperty;
227
public static readonly AutomationProperty IsVirtualizedItemPatternAvailableProperty =
AutomationElementIdentifiers
.IsVirtualizedItemPatternAvailableProperty;
229
public static readonly AutomationProperty IsItemContainerPatternAvailableProperty =
AutomationElementIdentifiers
.IsItemContainerPatternAvailableProperty;
231
public static readonly AutomationProperty IsTablePatternAvailableProperty =
AutomationElementIdentifiers
.IsTablePatternAvailableProperty;
233
public static readonly AutomationProperty IsTableItemPatternAvailableProperty =
AutomationElementIdentifiers
.IsTableItemPatternAvailableProperty;
235
public static readonly AutomationProperty IsTextPatternAvailableProperty =
AutomationElementIdentifiers
.IsTextPatternAvailableProperty;
237
public static readonly AutomationProperty IsTogglePatternAvailableProperty =
AutomationElementIdentifiers
.IsTogglePatternAvailableProperty;
239
public static readonly AutomationProperty IsTransformPatternAvailableProperty =
AutomationElementIdentifiers
.IsTransformPatternAvailableProperty;
241
public static readonly AutomationProperty IsValuePatternAvailableProperty =
AutomationElementIdentifiers
.IsValuePatternAvailableProperty;
243
public static readonly AutomationProperty IsWindowPatternAvailableProperty =
AutomationElementIdentifiers
.IsWindowPatternAvailableProperty;
249
public static readonly AutomationEvent ToolTipOpenedEvent =
AutomationElementIdentifiers
.ToolTipOpenedEvent;
252
public static readonly AutomationEvent ToolTipClosedEvent =
AutomationElementIdentifiers
.ToolTipClosedEvent;
255
public static readonly AutomationEvent StructureChangedEvent =
AutomationElementIdentifiers
.StructureChangedEvent;
258
public static readonly AutomationEvent MenuOpenedEvent =
AutomationElementIdentifiers
.MenuOpenedEvent;
261
public static readonly AutomationEvent AutomationPropertyChangedEvent =
AutomationElementIdentifiers
.AutomationPropertyChangedEvent;
264
public static readonly AutomationEvent AutomationFocusChangedEvent =
AutomationElementIdentifiers
.AutomationFocusChangedEvent;
267
public static readonly AutomationEvent AsyncContentLoadedEvent =
AutomationElementIdentifiers
.AsyncContentLoadedEvent;
270
public static readonly AutomationEvent MenuClosedEvent =
AutomationElementIdentifiers
.MenuClosedEvent;
273
public static readonly AutomationEvent LayoutInvalidatedEvent =
AutomationElementIdentifiers
.LayoutInvalidatedEvent;
276
public static readonly AutomationEvent NotificationEvent =
AutomationElementIdentifiers
.NotificationEvent;
279
public static readonly AutomationEvent ActiveTextPositionChangedEvent =
AutomationElementIdentifiers
.ActiveTextPositionChangedEvent;
System\Windows\Automation\RangeValuePattern.cs (1)
88
object enabled = _el.GetCurrentPropertyValue(
AutomationElementIdentifiers
.IsEnabledProperty);
System\Windows\Automation\ValuePattern.cs (1)
75
object enabled = _el.GetCurrentPropertyValue(
AutomationElementIdentifiers
.IsEnabledProperty);
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\WindowsTab.cs (2)
309
if (eventId ==
AutomationElementIdentifiers
.AutomationPropertyChangedEvent
328
if (eventId ==
AutomationElementIdentifiers
.AutomationPropertyChangedEvent
UIAutomationProvider (3)
System\Windows\Automation\Provider\AutomationInteropProvider.cs (3)
115
if (e.EventId ==
AutomationElementIdentifiers
.AsyncContentLoadedEvent)
125
if (e.EventId ==
AutomationElementIdentifiers
.NotificationEvent)
139
if (e.EventId ==
AutomationElementIdentifiers
.ActiveTextPositionChangedEvent)
UIAutomationTypes (5)
System\Windows\Automation\ActiveTextPositionChangedEventArgs.cs (1)
32
: base(
AutomationElementIdentifiers
.ActiveTextPositionChangedEvent)
System\Windows\Automation\AsyncContentLoadedEventArgs.cs (1)
36
: base(
AutomationElementIdentifiers
.AsyncContentLoadedEvent)
System\Windows\Automation\AutomationPropertyChangedEventArgs.cs (1)
38
: base(
AutomationElementIdentifiers
.AutomationPropertyChangedEvent)
System\Windows\Automation\NotificationEventArgs.cs (1)
36
: base(
AutomationElementIdentifiers
.NotificationEvent)
System\Windows\Automation\StructureChangedEventArgs.cs (1)
73
: base(
AutomationElementIdentifiers
.StructureChangedEvent)