UIElementAutomationPeer.GetNameCore Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the text label of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetName.

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

protected override string GetNameCore()

Return Value

Type: System.String

The string that contains the Name that is returned by GetName.

The Name property functions similar to a string of text that users use to explain the control they are referring to. Make certain that you have a textual representation for all controls in the graphical user interface (GUI) so that you can programmatically refer to the control in a localized manner.

.NET Framework
Available since 3.0
Return to top
Show: