AutomationProperties.Name Attached Property
Gets or sets the automation name of the element.
Assembly: System.Windows (in System.Windows.dll)
'Declaration See GetName, SetName
See GetName, SetName
<object AutomationProperties.Name="nameString" .../>
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.
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.