AutomationProperties Class
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Provides support for getting or setting the value of instance-level values of automation properties. These property values are set as attached properties (typically in XAML) and supplement or override automation property values from a control's AutomationPeer.
Inheritance Hierarchy
System..::.Object
System.Windows.Automation..::.AutomationProperties
Namespace: System.Windows.Automation
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public NotInheritable Class AutomationProperties
public static class AutomationProperties
The AutomationProperties type exposes the following members.
Attached Properties
| Name | Description | |
|---|---|---|
![]() |
AcceleratorKey | Gets or sets the accelerator key string for the element. |
![]() |
AccessKey | Gets or sets the access key for the element. |
![]() |
AutomationId | Gets or set the string that uniquely identifies the element to UI automation. |
![]() |
HelpText | Gets or sets the help text for the element. |
![]() |
IsRequiredForForm | Gets or sets a value that indicates whether the element is required to be filled out on a form. |
![]() |
ItemStatus | Gets or sets a description of the status of an item in an element. |
![]() |
ItemType | Gets or sets a description of the type of the specified element. |
![]() |
LabeledBy | Gets or sets the element that contains the text label for the element. |
![]() |
Name | Gets or sets the automation name of the element. |
Top
Methods
Top
Fields
| Name | Description | |
|---|---|---|
![]() ![]() |
AcceleratorKeyProperty | Identifies the AutomationProperties..::.AcceleratorKey attached property. |
![]() ![]() |
AccessKeyProperty | Identifies the AutomationProperties..::.AccessKey attached property. |
![]() ![]() |
AutomationIdProperty | Identifies the AutomationProperties..::.AutomationId attached property. |
![]() ![]() |
HelpTextProperty | Identifies the AutomationProperties..::.HelpText attached property. |
![]() ![]() |
IsRequiredForFormProperty | Identifies the AutomationProperties..::.IsRequiredForForm attached property. |
![]() ![]() |
ItemStatusProperty | Identifies the AutomationProperties..::.ItemStatus attached property. |
![]() ![]() |
ItemTypeProperty | Identifies the AutomationProperties..::.ItemType attached property. |
![]() ![]() |
LabeledByProperty | Identifies the AutomationProperties..::.LabeledBy attached property. |
![]() ![]() |
NameProperty | Identifies the AutomationProperties..::.Name attached property. |
Top
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)