152 references to AutomationProperties
Microsoft.VisualStudio.LanguageServices (3)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
76
SetValue(
AutomationProperties
.NameProperty, viewModel.AutomationName);
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (1)
307
combobox.SetValue(
AutomationProperties
.NameProperty, ServicesVSResources.Action);
Utilities\BindableTextBlock.cs (1)
46
AutomationProperties
.SetName(textBlock, automationTextBuilder.ToString());
Microsoft.VisualStudio.LanguageServices.CSharp (2)
SemanticSearch\SemanticSearchToolWindowImpl.cs (2)
206
button.SetValue(
AutomationProperties
.NameProperty, automationName);
207
button.SetValue(
AutomationProperties
.AcceleratorKeyProperty, acceleratorKey);
PresentationCore (75)
System\Windows\Automation\AutomationProperties.cs (19)
20
typeof(
AutomationProperties
),
53
typeof(
AutomationProperties
),
86
typeof(
AutomationProperties
),
119
typeof(
AutomationProperties
),
152
typeof(
AutomationProperties
),
185
typeof(
AutomationProperties
),
218
typeof(
AutomationProperties
),
251
typeof(
AutomationProperties
),
283
typeof(
AutomationProperties
),
315
typeof(
AutomationProperties
),
347
typeof(
AutomationProperties
),
379
typeof(
AutomationProperties
),
411
typeof(
AutomationProperties
),
447
typeof(
AutomationProperties
),
448
new UIPropertyMetadata(
AutomationProperties
.AutomationPositionInSetDefault));
483
typeof(
AutomationProperties
),
484
new UIPropertyMetadata(
AutomationProperties
.AutomationSizeOfSetDefault));
512
typeof(
AutomationProperties
),
541
typeof(
AutomationProperties
),
System\Windows\Automation\Peers\AutomationPeer.cs (4)
722
return
AutomationProperties
.AutomationSizeOfSetDefault;
730
return
AutomationProperties
.AutomationPositionInSetDefault;
1290
int result =
AutomationProperties
.AutomationSizeOfSetDefault;
1416
int result =
AutomationProperties
.AutomationPositionInSetDefault;
System\Windows\Automation\Peers\ContentElementAutomationPeer.cs (12)
99
return
AutomationProperties
.GetAutomationId(_owner);
107
return
AutomationProperties
.GetName(_owner);
115
return
AutomationProperties
.GetHelpText(_owner);
131
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(_owner);
212
return
AutomationProperties
.GetIsDialog(_owner);
268
return
AutomationProperties
.GetLiveSetting(_owner);
273
/// Reads <see cref="
AutomationProperties
.PositionInSetProperty"/> and returns the value
277
return
AutomationProperties
.GetPositionInSet(_owner);
282
/// Reads <see cref="
AutomationProperties
.SizeOfSetProperty"/> and returns the value
286
return
AutomationProperties
.GetSizeOfSet(_owner);
291
/// Reads <see cref="
AutomationProperties
.HeadingLevelProperty"/> and returns the value
295
return
AutomationProperties
.GetHeadingLevel(_owner);
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (18)
149
return (
AutomationProperties
.GetAutomationId(_owner));
155
return (
AutomationProperties
.GetName(_owner));
161
return (
AutomationProperties
.GetHelpText(_owner));
208
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(_owner);
271
return
AutomationProperties
.GetItemType(_owner);
283
return
AutomationProperties
.GetItemStatus(_owner);
289
return
AutomationProperties
.GetIsRequiredForForm(_owner);
313
return
AutomationProperties
.GetIsDialog(_owner);
340
UIElement element =
AutomationProperties
.GetLabeledBy(_owner);
350
return
AutomationProperties
.GetAcceleratorKey(_owner);
356
string result =
AutomationProperties
.GetAccessKey(_owner);
365
return
AutomationProperties
.GetLiveSetting(_owner);
370
/// Reads <see cref="
AutomationProperties
.PositionInSetProperty"/> and returns the value.
374
return
AutomationProperties
.GetPositionInSet(_owner);
378
/// Reads <see cref="
AutomationProperties
.SizeOfSetProperty"/> and returns the value.
382
return
AutomationProperties
.GetSizeOfSet(_owner);
387
/// Reads <see cref="
AutomationProperties
.HeadingLevelProperty"/> and returns the value
391
return
AutomationProperties
.GetHeadingLevel(_owner);
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (22)
169
return (
AutomationProperties
.GetAutomationId(_owner));
175
return (
AutomationProperties
.GetName(_owner));
181
return (
AutomationProperties
.GetHelpText(_owner));
233
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(_owner);
319
return
AutomationProperties
.GetItemType(_owner);
331
return
AutomationProperties
.GetItemStatus(_owner);
337
return
AutomationProperties
.GetIsRequiredForForm(_owner);
361
return
AutomationProperties
.GetIsDialog(_owner);
388
UIElement element =
AutomationProperties
.GetLabeledBy(_owner);
398
return
AutomationProperties
.GetAcceleratorKey(_owner);
404
string result =
AutomationProperties
.GetAccessKey(_owner);
413
return
AutomationProperties
.GetLiveSetting(_owner);
418
/// Reads <see cref="
AutomationProperties
.PositionInSetProperty"/> and returns the value if one was provided,
423
int positionInSet =
AutomationProperties
.GetPositionInSet(_owner);
425
if (positionInSet ==
AutomationProperties
.AutomationPositionInSetDefault)
442
positionInSet =
AutomationProperties
.AutomationPositionInSetDefault;
453
/// Reads <see cref="
AutomationProperties
.SizeOfSetProperty"/> and returns the value if one was provided,
458
int sizeOfSet =
AutomationProperties
.GetSizeOfSet(_owner);
460
if (sizeOfSet ==
AutomationProperties
.AutomationSizeOfSetDefault)
477
sizeOfSet =
AutomationProperties
.AutomationSizeOfSetDefault;
488
/// Reads <see cref="
AutomationProperties
.HeadingLevelProperty"/> and returns the value
492
return
AutomationProperties
.GetHeadingLevel(_owner);
PresentationFramework (52)
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (2)
319
int position =
AutomationProperties
.AutomationPositionInSetDefault;
345
int size =
AutomationProperties
.AutomationSizeOfSetDefault;
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
432
return
AutomationProperties
.AutomationPositionInSetDefault;
456
return
AutomationProperties
.AutomationSizeOfSetDefault;
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
182
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(Owner);
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
51
if (positionInSet ==
AutomationProperties
.AutomationPositionInSetDefault)
80
if (sizeOfSet ==
AutomationProperties
.AutomationSizeOfSetDefault)
System\Windows\Automation\Peers\ItemAutomationPeer.cs (11)
273
/// If <see cref="
AutomationProperties
.PositionInSetProperty"/> hasn't been set
278
/// The value of <see cref="
AutomationProperties
.PositionInSetProperty"/> if it has been set, or it's position relative to the parent ItemsControl or GroupItem.
287
if (position ==
AutomationProperties
.AutomationPositionInSetDefault)
300
return
AutomationProperties
.AutomationPositionInSetDefault;
307
/// If <see cref="
AutomationProperties
.SizeOfSetProperty"/> hasn't been set
312
/// The value of <see cref="
AutomationProperties
.SizeOfSetProperty"/> if it has been set, or the size of the parent ItemsControl or GroupItem.
321
if (size ==
AutomationProperties
.AutomationSizeOfSetDefault)
334
return
AutomationProperties
.AutomationSizeOfSetDefault;
339
int position =
AutomationProperties
.AutomationPositionInSetDefault;
354
int size =
AutomationProperties
.AutomationSizeOfSetDefault;
382
sizeOfGroup =
AutomationProperties
.AutomationSizeOfSetDefault;
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (4)
87
/// If <see cref="
AutomationProperties
.PositionInSetProperty"/> hasn't been set
92
/// The value of <see cref="
AutomationProperties
.PositionInSetProperty"/> if it has been set, or it's position relative to the parent ItemsControl or GroupItem.
98
if (sizeOfSet ==
AutomationProperties
.AutomationSizeOfSetDefault)
130
if (positionInSet ==
AutomationProperties
.AutomationPositionInSetDefault)
System\Windows\Automation\Peers\TextAutomationPeer.cs (1)
70
string result =
AutomationProperties
.GetName(this.Owner);
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (1)
141
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(Owner);
System\Windows\Automation\Peers\WindowAutomationPeer.cs (2)
101
if (MS.Internal.Helper.IsDefaultValue(
AutomationProperties
.IsDialogProperty, window))
107
return
AutomationProperties
.GetIsDialog(window);
System\Windows\Controls\DataGridCell.cs (1)
40
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\DataGridRow.cs (1)
112
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\GroupItem.cs (1)
38
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\ListBoxItem.cs (1)
59
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\MenuItem.cs (1)
201
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
43
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
24
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
133
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\ScrollBar.cs (1)
903
AutomationProperties
.SetAutomationId(menuItem, automationId);
System\Windows\Controls\Primitives\StatusBarItem.cs (1)
28
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\ScrollViewer.cs (2)
2726
hsb.SetValue(
AutomationProperties
.AutomationIdProperty, "HorizontalScrollBar");
2736
vsb.SetValue(
AutomationProperties
.AutomationIdProperty, "VerticalScrollBar");
System\Windows\Controls\TabItem.cs (1)
63
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\TreeViewItem.cs (1)
49
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Documents\FixedElement.cs (6)
121
AutomationProperties
.NameProperty.AddOwner(
125
AutomationProperties
.HelpTextProperty.AddOwner(
257
AutomationProperties
.SetHelpText(link, (String)this.GetValue(HelpTextProperty));
258
AutomationProperties
.SetName(link, (String)this.GetValue(NameProperty));
307
AutomationProperties
.SetName(image, (String)this.GetValue(NameProperty));
308
AutomationProperties
.SetHelpText(image, (String)this.GetValue(HelpTextProperty));
System\Windows\Documents\FixedSOMImage.cs (2)
36
_name =
AutomationProperties
.GetName(o);
37
_helpText =
AutomationProperties
.GetHelpText(o);
System\Windows\Documents\FixedTextBuilder.cs (4)
1445
_currentFixedElement.SetValue(FixedElement.HelpTextProperty, (String) (hyperlink.UIElement.GetValue(
AutomationProperties
.HelpTextProperty)));
1446
_currentFixedElement.SetValue(FixedElement.NameProperty, (String) (hyperlink.UIElement.GetValue(
AutomationProperties
.NameProperty)));
1744
_currentFixedElement.SetValue(FixedElement.HelpTextProperty, (String) (uiElement.GetValue(
AutomationProperties
.HelpTextProperty)));
1745
_currentFixedElement.SetValue(FixedElement.NameProperty, (String) (uiElement.GetValue(
AutomationProperties
.NameProperty)));
ReachFramework (2)
Serialization\VisualSerializer.cs (2)
1695
string apName =
AutomationProperties
.GetName(_node);
1702
string apHelpText =
AutomationProperties
.GetHelpText(_node);
System.Windows.Controls.Ribbon (18)
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (1)
57
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (1)
70
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonControl), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
61
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (1)
48
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
74
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (11)
1639
new PropertyAndTransferMode() { Property =
AutomationProperties
.AcceleratorKeyProperty, Mode = TransferMode.AlwaysTransfer },
1640
new PropertyAndTransferMode() { Property =
AutomationProperties
.AccessKeyProperty, Mode = TransferMode.AlwaysTransfer },
1641
new PropertyAndTransferMode() { Property =
AutomationProperties
.AutomationIdProperty, Mode = TransferMode.AlwaysTransfer },
1642
new PropertyAndTransferMode() { Property =
AutomationProperties
.HelpTextProperty, Mode = TransferMode.AlwaysTransfer },
1643
new PropertyAndTransferMode() { Property =
AutomationProperties
.IsColumnHeaderProperty, Mode = TransferMode.AlwaysTransfer },
1644
new PropertyAndTransferMode() { Property =
AutomationProperties
.IsRequiredForFormProperty, Mode = TransferMode.AlwaysTransfer },
1645
new PropertyAndTransferMode() { Property =
AutomationProperties
.IsRowHeaderProperty, Mode = TransferMode.AlwaysTransfer },
1646
new PropertyAndTransferMode() { Property =
AutomationProperties
.ItemStatusProperty, Mode = TransferMode.AlwaysTransfer },
1647
new PropertyAndTransferMode() { Property =
AutomationProperties
.ItemTypeProperty, Mode = TransferMode.AlwaysTransfer },
1648
new PropertyAndTransferMode() { Property =
AutomationProperties
.LabeledByProperty, Mode = TransferMode.AlwaysTransfer },
1649
new PropertyAndTransferMode() { Property =
AutomationProperties
.NameProperty, Mode = TransferMode.AlwaysTransfer },
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
58
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
51
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));