Export (0) Print
Expand All

AutomationProperties.Name Attached Property

Gets or sets the automation name of the element.

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

'Declaration
See GetName, SetName
<object AutomationProperties.Name="nameString" .../>

Property Value

Type: System.String
The name of the element.

AutomationProperties.Name is the most likely automation property to be picked up by UI automation clients. The default peer implementations for most Silverlight-implemented controls include logic that attempts to walk into the automation tree to find text content, and to use that text content as a control-generated default for AutomationProperties.Name. For more information, see Automation Properties for Accessibility Support in UI.

See Also

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft