137 references to AutomationProperties
PresentationCore (64)
Core\CSharp\System\Windows\Automation\AutomationProperties.cs (17)
16
typeof(
AutomationProperties
),
55
typeof(
AutomationProperties
),
94
typeof(
AutomationProperties
),
133
typeof(
AutomationProperties
),
172
typeof(
AutomationProperties
),
211
typeof(
AutomationProperties
),
250
typeof(
AutomationProperties
),
289
typeof(
AutomationProperties
),
327
typeof(
AutomationProperties
),
365
typeof(
AutomationProperties
),
403
typeof(
AutomationProperties
),
441
typeof(
AutomationProperties
),
479
typeof(
AutomationProperties
),
521
typeof(
AutomationProperties
),
522
new UIPropertyMetadata(
AutomationProperties
.AutomationPositionInSetDefault));
563
typeof(
AutomationProperties
),
564
new UIPropertyMetadata(
AutomationProperties
.AutomationSizeOfSetDefault));
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (4)
733
return
AutomationProperties
.AutomationSizeOfSetDefault;
741
return
AutomationProperties
.AutomationPositionInSetDefault;
1287
int result =
AutomationProperties
.AutomationSizeOfSetDefault;
1315
int result =
AutomationProperties
.AutomationPositionInSetDefault;
Core\CSharp\System\Windows\Automation\Peers\ContentElementAutomationPeer.cs (9)
107
return
AutomationProperties
.GetAutomationId(_owner);
115
return
AutomationProperties
.GetName(_owner);
123
return
AutomationProperties
.GetHelpText(_owner);
139
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(_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);
Core\CSharp\System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (15)
155
return (
AutomationProperties
.GetAutomationId(_owner));
161
return (
AutomationProperties
.GetName(_owner));
167
return (
AutomationProperties
.GetHelpText(_owner));
220
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(_owner);
283
return
AutomationProperties
.GetItemType(_owner);
295
return
AutomationProperties
.GetItemStatus(_owner);
301
return
AutomationProperties
.GetIsRequiredForForm(_owner);
346
UIElement element =
AutomationProperties
.GetLabeledBy(_owner);
356
return
AutomationProperties
.GetAcceleratorKey(_owner);
362
string result =
AutomationProperties
.GetAccessKey(_owner);
371
return
AutomationProperties
.GetLiveSetting(_owner);
376
/// Reads <see cref="
AutomationProperties
.PositionInSetProperty"/> and returns the value.
380
return
AutomationProperties
.GetPositionInSet(_owner);
384
/// Reads <see cref="
AutomationProperties
.SizeOfSetProperty"/> and returns the value.
388
return
AutomationProperties
.GetSizeOfSet(_owner);
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (19)
180
return (
AutomationProperties
.GetAutomationId(_owner));
186
return (
AutomationProperties
.GetName(_owner));
192
return (
AutomationProperties
.GetHelpText(_owner));
256
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(_owner);
342
return
AutomationProperties
.GetItemType(_owner);
354
return
AutomationProperties
.GetItemStatus(_owner);
360
return
AutomationProperties
.GetIsRequiredForForm(_owner);
405
UIElement element =
AutomationProperties
.GetLabeledBy(_owner);
415
return
AutomationProperties
.GetAcceleratorKey(_owner);
421
string result =
AutomationProperties
.GetAccessKey(_owner);
430
return
AutomationProperties
.GetLiveSetting(_owner);
435
/// Reads <see cref="
AutomationProperties
.PositionInSetProperty"/> and returns the value if one was provided,
440
int positionInSet =
AutomationProperties
.GetPositionInSet(_owner);
442
if (positionInSet ==
AutomationProperties
.AutomationPositionInSetDefault)
459
positionInSet =
AutomationProperties
.AutomationPositionInSetDefault;
470
/// Reads <see cref="
AutomationProperties
.SizeOfSetProperty"/> and returns the value if one was provided,
475
int sizeOfSet =
AutomationProperties
.GetSizeOfSet(_owner);
477
if (sizeOfSet ==
AutomationProperties
.AutomationSizeOfSetDefault)
494
sizeOfSet =
AutomationProperties
.AutomationSizeOfSetDefault;
PresentationFramework (50)
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (2)
323
int position =
AutomationProperties
.AutomationPositionInSetDefault;
349
int size =
AutomationProperties
.AutomationSizeOfSetDefault;
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
441
return
AutomationProperties
.AutomationPositionInSetDefault;
465
return
AutomationProperties
.AutomationSizeOfSetDefault;
src\Framework\System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
196
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(Owner);
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
47
if (positionInSet ==
AutomationProperties
.AutomationPositionInSetDefault)
76
if (sizeOfSet ==
AutomationProperties
.AutomationSizeOfSetDefault)
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (11)
236
/// If <see cref="
AutomationProperties
.PositionInSetProperty"/> hasn't been set
241
/// The value of <see cref="
AutomationProperties
.PositionInSetProperty"/> if it has been set, or it's position relative to the parent ItemsControl or GroupItem.
250
if (position ==
AutomationProperties
.AutomationPositionInSetDefault)
263
return
AutomationProperties
.AutomationPositionInSetDefault;
270
/// If <see cref="
AutomationProperties
.SizeOfSetProperty"/> hasn't been set
275
/// The value of <see cref="
AutomationProperties
.SizeOfSetProperty"/> if it has been set, or the size of the parent ItemsControl or GroupItem.
284
if (size ==
AutomationProperties
.AutomationSizeOfSetDefault)
297
return
AutomationProperties
.AutomationSizeOfSetDefault;
302
int position =
AutomationProperties
.AutomationPositionInSetDefault;
317
int size =
AutomationProperties
.AutomationSizeOfSetDefault;
345
sizeOfGroup =
AutomationProperties
.AutomationSizeOfSetDefault;
src\Framework\System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (4)
83
/// If <see cref="
AutomationProperties
.PositionInSetProperty"/> hasn't been set
88
/// The value of <see cref="
AutomationProperties
.PositionInSetProperty"/> if it has been set, or it's position relative to the parent ItemsControl or GroupItem.
94
if (sizeOfSet ==
AutomationProperties
.AutomationSizeOfSetDefault)
118
if (positionInSet ==
AutomationProperties
.AutomationPositionInSetDefault)
src\Framework\System\Windows\Automation\Peers\TextAutomationPeer.cs (1)
41
string result =
AutomationProperties
.GetName(this.Owner);
src\Framework\System\Windows\Automation\Peers\TextElementAutomationPeer.cs (1)
155
IsOffscreenBehavior behavior =
AutomationProperties
.GetIsOffscreenBehavior(Owner);
src\Framework\System\Windows\Controls\DataGridCell.cs (1)
38
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\DataGridRow.cs (1)
113
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\GroupItem.cs (1)
40
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\ListBoxItem.cs (1)
59
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\MenuItem.cs (1)
204
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
44
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
24
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
134
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (1)
908
AutomationProperties
.SetAutomationId(menuItem, automationId);
src\Framework\System\Windows\Controls\Primitives\StatusBarItem.cs (1)
29
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
2766
hsb.SetValue(
AutomationProperties
.AutomationIdProperty, "HorizontalScrollBar");
2776
vsb.SetValue(
AutomationProperties
.AutomationIdProperty, "VerticalScrollBar");
src\Framework\System\Windows\Controls\TabItem.cs (1)
64
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
50
AutomationProperties
.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Documents\FixedElement.cs (6)
125
AutomationProperties
.NameProperty.AddOwner(
129
AutomationProperties
.HelpTextProperty.AddOwner(
262
AutomationProperties
.SetHelpText(link, (String)this.GetValue(HelpTextProperty));
263
AutomationProperties
.SetName(link, (String)this.GetValue(NameProperty));
313
AutomationProperties
.SetName(image, (String)this.GetValue(NameProperty));
314
AutomationProperties
.SetHelpText(image, (String)this.GetValue(HelpTextProperty));
src\Framework\System\Windows\Documents\FixedSOMImage.cs (2)
41
_name =
AutomationProperties
.GetName(o);
42
_helpText =
AutomationProperties
.GetHelpText(o);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (4)
1474
_currentFixedElement.SetValue(FixedElement.HelpTextProperty, (String) (hyperlink.UIElement.GetValue(
AutomationProperties
.HelpTextProperty)));
1475
_currentFixedElement.SetValue(FixedElement.NameProperty, (String) (hyperlink.UIElement.GetValue(
AutomationProperties
.NameProperty)));
1776
_currentFixedElement.SetValue(FixedElement.HelpTextProperty, (String) (uiElement.GetValue(
AutomationProperties
.HelpTextProperty)));
1777
_currentFixedElement.SetValue(FixedElement.NameProperty, (String) (uiElement.GetValue(
AutomationProperties
.NameProperty)));
System.Activities.Core.Presentation (10)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (3)
277
comboBox.SetValue(
AutomationProperties
.NameProperty, ComboBoxAutomationName);
284
comboBoxTextBox.SetValue(
AutomationProperties
.NameProperty, EditorAutomationName);
300
textBox.SetValue(
AutomationProperties
.NameProperty, EditorAutomationName);
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
232
setAsStartNode.SetValue(System.Windows.Automation.
AutomationProperties
.AutomationIdProperty, "SetAsStartNodeMenuItem");
System\Activities\Core\Presentation\ParallelSeparator.xaml.cs (1)
28
SetValue(
AutomationProperties
.NameProperty, SR.ParallelSeparatorAutomationName);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
761
AutomationProperties
.SetName(connector, SR.ConnectionAutomationPropertiesName);
System\Activities\Core\Presentation\StateDesigner.xaml.cs (1)
49
this.SetValue(
AutomationProperties
.ItemStatusProperty, this.guid.ToString());
System\ServiceModel\Activities\Presentation\MessageQueryEditor.xaml.cs (3)
108
this.SetValue(
AutomationProperties
.NameProperty, this.Resources["MessageQueryEditorAutomationName"]);
114
textBox.SetValue(
AutomationProperties
.NameProperty, this.GetValue(
AutomationProperties
.NameProperty));
System.Activities.Presentation (13)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagPanel.cs (1)
59
checkBox.SetValue(
AutomationProperties
.AutomationIdProperty, flagName);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
115
this.SetValue(
AutomationProperties
.NameProperty, AutomationName);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (2)
304
string sourceId = sourceDesigner.GetValue(
AutomationProperties
.ItemStatusProperty) as string;
306
string destinationId = destinationDesigner.GetValue(
AutomationProperties
.ItemStatusProperty) as string;
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (2)
70
automationIdSetter.Property =
AutomationProperties
.AutomationIdProperty;
115
automationIdSetter.Property =
AutomationProperties
.AutomationIdProperty;
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
835
style.Setters.Add(new Setter(
AutomationProperties
.AutomationIdProperty, new Binding("Column.Header")
1527
AutomationProperties
.SetAutomationId(errorTip, "errorToolTip");
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
450
newMenu.SetValue(
AutomationProperties
.NameProperty, SR.DesignerContextMenuAutomationName);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
201
zoomPickerTextBox.SetValue(
AutomationProperties
.NameProperty, SR.ZoomPickerEditorAutomationName);
823
BindingOperations.SetBinding(toggleButton,
AutomationProperties
.HelpTextProperty, toggleButtonHelpTextBinding);
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
183
this.SetBinding(
AutomationProperties
.NameProperty, automationNameBinding);
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1352
this.SetValue(
AutomationProperties
.HelpTextProperty, hint);