ItemAutomationPeer.GetNameCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the text label of the UIElement that corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer.
protected:
override System::String ^ GetNameCore();
protected override string GetNameCore ();
override this.GetNameCore : unit -> string
Protected Overrides Function GetNameCore () As String
Returns
The text label.
Remarks
You can think of the name property as if it were a string of text that users use to explain which 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.
This method is called by GetName.