AutomationProperties.Name Attached Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets or sets the automation name of the element.
Namespace: System.Windows.Automation
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
See GetName, SetName
See GetName, SetName
<object AutomationProperties.Name="nameString" .../>
Property Value
Type: System.String
The name of the element.
Remarks
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
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.