UIElementAutomationPeer.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 is associated with this UIElementAutomationPeer. This method is called by GetName().
protected:
override System::String ^ GetNameCore();
protected override string GetNameCore ();
override this.GetNameCore : unit -> string
Protected Overrides Function GetNameCore () As String
Returns
The string that contains the Name that is returned by GetName(DependencyObject).
Remarks
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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈