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