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)
18
typeof(
AutomationProperties
),
51
typeof(
AutomationProperties
),
84
typeof(
AutomationProperties
),
117
typeof(
AutomationProperties
),
150
typeof(
AutomationProperties
),
183
typeof(
AutomationProperties
),
216
typeof(
AutomationProperties
),
249
typeof(
AutomationProperties
),
281
typeof(
AutomationProperties
),
313
typeof(
AutomationProperties
),
345
typeof(
AutomationProperties
),
377
typeof(
AutomationProperties
),
409
typeof(
AutomationProperties
),
445
typeof(
AutomationProperties
),
446
new UIPropertyMetadata(
AutomationProperties
.AutomationPositionInSetDefault));
481
typeof(
AutomationProperties
),
482
new UIPropertyMetadata(
AutomationProperties
.AutomationSizeOfSetDefault));
510
typeof(
AutomationProperties
),
539
typeof(
AutomationProperties
),
System\Windows\Automation\Peers\AutomationPeer.cs (4)
709
return
AutomationProperties
.AutomationSizeOfSetDefault;
717
return
AutomationProperties
.AutomationPositionInSetDefault;
1277
int result =
AutomationProperties
.AutomationSizeOfSetDefault;
1403
int result =
AutomationProperties
.AutomationPositionInSetDefault;
System\Windows\Automation\Peers\ContentElementAutomationPeer.cs (12)
95
return
AutomationProperties
.GetAutomationId(_owner);
103
return
AutomationProperties
.GetName(_owner);
111
return
AutomationProperties
.GetHelpText(_owner);
127
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(_owner);
208
return
AutomationProperties
.GetIsDialog(_owner);
264
return
AutomationProperties
.GetLiveSetting(_owner);
269
/// Reads <see cref="
AutomationProperties
.PositionInSetProperty"/> and returns the value
273
return
AutomationProperties
.GetPositionInSet(_owner);
278
/// Reads <see cref="
AutomationProperties
.SizeOfSetProperty"/> and returns the value
282
return
AutomationProperties
.GetSizeOfSet(_owner);
287
/// Reads <see cref="
AutomationProperties
.HeadingLevelProperty"/> and returns the value
291
return
AutomationProperties
.GetHeadingLevel(_owner);
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (18)
141
return (
AutomationProperties
.GetAutomationId(_owner));
147
return (
AutomationProperties
.GetName(_owner));
153
return (
AutomationProperties
.GetHelpText(_owner));
200
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(_owner);
263
return
AutomationProperties
.GetItemType(_owner);
275
return
AutomationProperties
.GetItemStatus(_owner);
281
return
AutomationProperties
.GetIsRequiredForForm(_owner);
305
return
AutomationProperties
.GetIsDialog(_owner);
332
UIElement element =
AutomationProperties
.GetLabeledBy(_owner);
342
return
AutomationProperties
.GetAcceleratorKey(_owner);
348
string result =
AutomationProperties
.GetAccessKey(_owner);
357
return
AutomationProperties
.GetLiveSetting(_owner);
362
/// Reads <see cref="
AutomationProperties
.PositionInSetProperty"/> and returns the value.
366
return
AutomationProperties
.GetPositionInSet(_owner);
370
/// Reads <see cref="
AutomationProperties
.SizeOfSetProperty"/> and returns the value.
374
return
AutomationProperties
.GetSizeOfSet(_owner);
379
/// Reads <see cref="
AutomationProperties
.HeadingLevelProperty"/> and returns the value
383
return
AutomationProperties
.GetHeadingLevel(_owner);
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (22)
160
return (
AutomationProperties
.GetAutomationId(_owner));
166
return (
AutomationProperties
.GetName(_owner));
172
return (
AutomationProperties
.GetHelpText(_owner));
224
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(_owner);
310
return
AutomationProperties
.GetItemType(_owner);
322
return
AutomationProperties
.GetItemStatus(_owner);
328
return
AutomationProperties
.GetIsRequiredForForm(_owner);
352
return
AutomationProperties
.GetIsDialog(_owner);
379
UIElement element =
AutomationProperties
.GetLabeledBy(_owner);
389
return
AutomationProperties
.GetAcceleratorKey(_owner);
395
string result =
AutomationProperties
.GetAccessKey(_owner);
404
return
AutomationProperties
.GetLiveSetting(_owner);
409
/// Reads <see cref="
AutomationProperties
.PositionInSetProperty"/> and returns the value if one was provided,
414
int positionInSet =
AutomationProperties
.GetPositionInSet(_owner);
416
if (positionInSet ==
AutomationProperties
.AutomationPositionInSetDefault)
433
positionInSet =
AutomationProperties
.AutomationPositionInSetDefault;
444
/// Reads <see cref="
AutomationProperties
.SizeOfSetProperty"/> and returns the value if one was provided,
449
int sizeOfSet =
AutomationProperties
.GetSizeOfSet(_owner);
451
if (sizeOfSet ==
AutomationProperties
.AutomationSizeOfSetDefault)
468
sizeOfSet =
AutomationProperties
.AutomationSizeOfSetDefault;
479
/// Reads <see cref="
AutomationProperties
.HeadingLevelProperty"/> and returns the value
483
return
AutomationProperties
.GetHeadingLevel(_owner);
PresentationFramework (52)
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (2)
313
int position =
AutomationProperties
.AutomationPositionInSetDefault;
339
int size =
AutomationProperties
.AutomationSizeOfSetDefault;
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
425
return
AutomationProperties
.AutomationPositionInSetDefault;
449
return
AutomationProperties
.AutomationSizeOfSetDefault;
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
180
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(Owner);
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
39
if (positionInSet ==
AutomationProperties
.AutomationPositionInSetDefault)
68
if (sizeOfSet ==
AutomationProperties
.AutomationSizeOfSetDefault)
System\Windows\Automation\Peers\ItemAutomationPeer.cs (11)
263
/// If <see cref="
AutomationProperties
.PositionInSetProperty"/> hasn't been set
268
/// The value of <see cref="
AutomationProperties
.PositionInSetProperty"/> if it has been set, or it's position relative to the parent ItemsControl or GroupItem.
277
if (position ==
AutomationProperties
.AutomationPositionInSetDefault)
290
return
AutomationProperties
.AutomationPositionInSetDefault;
297
/// If <see cref="
AutomationProperties
.SizeOfSetProperty"/> hasn't been set
302
/// The value of <see cref="
AutomationProperties
.SizeOfSetProperty"/> if it has been set, or the size of the parent ItemsControl or GroupItem.
311
if (size ==
AutomationProperties
.AutomationSizeOfSetDefault)
324
return
AutomationProperties
.AutomationSizeOfSetDefault;
329
int position =
AutomationProperties
.AutomationPositionInSetDefault;
344
int size =
AutomationProperties
.AutomationSizeOfSetDefault;
372
sizeOfGroup =
AutomationProperties
.AutomationSizeOfSetDefault;
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (4)
74
/// If <see cref="
AutomationProperties
.PositionInSetProperty"/> hasn't been set
79
/// The value of <see cref="
AutomationProperties
.PositionInSetProperty"/> if it has been set, or it's position relative to the parent ItemsControl or GroupItem.
85
if (sizeOfSet ==
AutomationProperties
.AutomationSizeOfSetDefault)
117
if (positionInSet ==
AutomationProperties
.AutomationPositionInSetDefault)
System\Windows\Automation\Peers\TextAutomationPeer.cs (1)
69
string result =
AutomationProperties
.GetName(this.Owner);
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (1)
137
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(Owner);
System\Windows\Automation\Peers\WindowAutomationPeer.cs (2)
94
if (MS.Internal.Helper.IsDefaultValue(
AutomationProperties
.IsDialogProperty, window))
100
return
AutomationProperties
.GetIsDialog(window);
System\Windows\Controls\DataGridCell.cs (1)
33
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\DataGridRow.cs (1)
108
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\GroupItem.cs (1)
30
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\ListBoxItem.cs (1)
52
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\MenuItem.cs (1)
191
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
38
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
20
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
128
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\ScrollBar.cs (1)
887
AutomationProperties
.SetAutomationId(menuItem, automationId);
System\Windows\Controls\Primitives\StatusBarItem.cs (1)
27
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\ScrollViewer.cs (2)
2718
hsb.SetValue(
AutomationProperties
.AutomationIdProperty, "HorizontalScrollBar");
2728
vsb.SetValue(
AutomationProperties
.AutomationIdProperty, "VerticalScrollBar");
System\Windows\Controls\TabItem.cs (1)
57
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\TreeViewItem.cs (1)
45
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Documents\FixedElement.cs (6)
113
AutomationProperties
.NameProperty.AddOwner(
117
AutomationProperties
.HelpTextProperty.AddOwner(
249
AutomationProperties
.SetHelpText(link, (String)this.GetValue(HelpTextProperty));
250
AutomationProperties
.SetName(link, (String)this.GetValue(NameProperty));
299
AutomationProperties
.SetName(image, (String)this.GetValue(NameProperty));
300
AutomationProperties
.SetHelpText(image, (String)this.GetValue(HelpTextProperty));
System\Windows\Documents\FixedSOMImage.cs (2)
34
_name =
AutomationProperties
.GetName(o);
35
_helpText =
AutomationProperties
.GetHelpText(o);
System\Windows\Documents\FixedTextBuilder.cs (4)
1439
_currentFixedElement.SetValue(FixedElement.HelpTextProperty, (String) (hyperlink.UIElement.GetValue(
AutomationProperties
.HelpTextProperty)));
1440
_currentFixedElement.SetValue(FixedElement.NameProperty, (String) (hyperlink.UIElement.GetValue(
AutomationProperties
.NameProperty)));
1738
_currentFixedElement.SetValue(FixedElement.HelpTextProperty, (String) (uiElement.GetValue(
AutomationProperties
.HelpTextProperty)));
1739
_currentFixedElement.SetValue(FixedElement.NameProperty, (String) (uiElement.GetValue(
AutomationProperties
.NameProperty)));
ReachFramework (2)
Serialization\VisualSerializer.cs (2)
1687
string apName =
AutomationProperties
.GetName(_node);
1694
string apHelpText =
AutomationProperties
.GetHelpText(_node);
System.Windows.Controls.Ribbon (18)
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (1)
55
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (1)
66
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonControl), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (1)
56
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (1)
46
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
71
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (11)
1634
new PropertyAndTransferMode() { Property =
AutomationProperties
.AcceleratorKeyProperty, Mode = TransferMode.AlwaysTransfer },
1635
new PropertyAndTransferMode() { Property =
AutomationProperties
.AccessKeyProperty, Mode = TransferMode.AlwaysTransfer },
1636
new PropertyAndTransferMode() { Property =
AutomationProperties
.AutomationIdProperty, Mode = TransferMode.AlwaysTransfer },
1637
new PropertyAndTransferMode() { Property =
AutomationProperties
.HelpTextProperty, Mode = TransferMode.AlwaysTransfer },
1638
new PropertyAndTransferMode() { Property =
AutomationProperties
.IsColumnHeaderProperty, Mode = TransferMode.AlwaysTransfer },
1639
new PropertyAndTransferMode() { Property =
AutomationProperties
.IsRequiredForFormProperty, Mode = TransferMode.AlwaysTransfer },
1640
new PropertyAndTransferMode() { Property =
AutomationProperties
.IsRowHeaderProperty, Mode = TransferMode.AlwaysTransfer },
1641
new PropertyAndTransferMode() { Property =
AutomationProperties
.ItemStatusProperty, Mode = TransferMode.AlwaysTransfer },
1642
new PropertyAndTransferMode() { Property =
AutomationProperties
.ItemTypeProperty, Mode = TransferMode.AlwaysTransfer },
1643
new PropertyAndTransferMode() { Property =
AutomationProperties
.LabeledByProperty, Mode = TransferMode.AlwaysTransfer },
1644
new PropertyAndTransferMode() { Property =
AutomationProperties
.NameProperty, Mode = TransferMode.AlwaysTransfer },
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
56
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
49
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));