TreeViewItemAutomationPeer.GetNameCore Method


Returns the UI Automation Name of the item that is associated with thisTreeViewItemAutomationPeer. This method is called by GetName().

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

protected override string GetNameCore()

Return Value

Type: System.String
The UI Automation Name of the object that is associated with this automation peer.

The default implementation attempts to obtain a string from the Header representation of the content. If no such string is available, the base FrameworkElementAutomationPeer implementation is invoked.


Supported in: 5

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

Community Additions