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