AutomationProperties Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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.

System.Object
  System.Windows.Automation.AutomationProperties

Namespace:  System.Windows.Automation
Assembly:  System.Windows (in System.Windows.dll)

public static class AutomationProperties

The AutomationProperties type exposes the following members.

  NameDescription
Public attached propertyAcceleratorKeyGets or sets the accelerator key string for the element.
Public attached propertyAccessKeyGets or sets the access key for the element.
Public attached propertyAutomationIdGets or set the string that uniquely identifies the element to UI automation.
Public attached propertyHelpTextGets or sets the help text for the element.
Public attached propertyIsRequiredForFormGets or sets a value that indicates whether the element is required to be filled out on a form.
Public attached propertyItemStatusGets or sets a description of the status of an item in an element.
Public attached propertyItemTypeGets or sets a description of the type of the specified element.
Public attached propertyLabeledByGets or sets the element that contains the text label for the element.
Public attached propertyNameGets or sets the automation name of the element.
Top

  NameDescription
Public methodStatic memberGetAcceleratorKeyGets the value of the AutomationProperties.AcceleratorKey attached property for the specified DependencyObject.
Public methodStatic memberGetAccessKeyGets the value of the AutomationProperties.AccessKey attached property for the specified DependencyObject.
Public methodStatic memberGetAutomationIdGets the value of the AutomationProperties.AutomationId attached property for the specified DependencyObject.
Public methodStatic memberGetHelpTextGets the value of the AutomationProperties.HelpText attached property for the specified DependencyObject.
Public methodStatic memberGetIsRequiredForFormGets the value of the AutomationProperties.IsRequiredForForm attached property for the specified DependencyObject.
Public methodStatic memberGetItemStatusGets the value of the AutomationProperties.ItemStatus attached property for the specified DependencyObject.
Public methodStatic memberGetItemTypeGets the value of the AutomationProperties.ItemType attached property for the specified DependencyObject.
Public methodStatic memberGetLabeledByGets the value of the AutomationProperties.LabeledBy attached property for the specified DependencyObject.
Public methodStatic memberGetNameGets the value of the AutomationProperties.Name attached property for the specified DependencyObject.
Public methodStatic memberSetAcceleratorKeySets the value of the AutomationProperties.AcceleratorKey attached property for the specified DependencyObject.
Public methodStatic memberSetAccessKeySets the value of the AutomationProperties.AccessKey attached property for the specified DependencyObject.
Public methodStatic memberSetAutomationIdSets the value of the AutomationProperties.AutomationId attached property for the specified DependencyObject.
Public methodStatic memberSetHelpTextSets the value of the AutomationProperties.HelpText attached property for the specified DependencyObject.
Public methodStatic memberSetIsRequiredForFormSets the value of the AutomationProperties.IsRequiredForForm attached property for the specified DependencyObject.
Public methodStatic memberSetItemStatusSets the value of the AutomationProperties.ItemStatus attached property for the specified DependencyObject.
Public methodStatic memberSetItemTypeSets the value of the AutomationProperties.ItemType attached property for the specified DependencyObject.
Public methodStatic memberSetLabeledBySets the value of the AutomationProperties.LabeledBy attached property for the specified DependencyObject.
Public methodStatic memberSetNameSets the value of the AutomationProperties.Name attached property for the specified DependencyObject.
Top

  NameDescription
Public fieldStatic memberAcceleratorKeyPropertyIdentifies the AutomationProperties.AcceleratorKey attached property.
Public fieldStatic memberAccessKeyPropertyIdentifies the AutomationProperties.AccessKey attached property.
Public fieldStatic memberAutomationIdPropertyIdentifies the AutomationProperties.AutomationId attached property.
Public fieldStatic memberHelpTextPropertyIdentifies the AutomationProperties.HelpText attached property.
Public fieldStatic memberIsRequiredForFormPropertyIdentifies the AutomationProperties.IsRequiredForForm attached property.
Public fieldStatic memberItemStatusPropertyIdentifies the AutomationProperties.ItemStatus attached property.
Public fieldStatic memberItemTypePropertyIdentifies the AutomationProperties.ItemType attached property.
Public fieldStatic memberLabeledByPropertyIdentifies the AutomationProperties.LabeledBy attached property.
Public fieldStatic memberNamePropertyIdentifies the AutomationProperties.Name attached property.
Top

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Show:
© 2015 Microsoft