Share via


AutomationPeer.GetHelpTextCore 方法

定義

當 Microsoft 使用者介面自動化 用戶端呼叫 GetHelpText 或對等的 Microsoft 使用者介面自動化 用戶端 API 時,提供對等的行為。

protected:
 virtual Platform::String ^ GetHelpTextCore() = GetHelpTextCore;
winrt::hstring GetHelpTextCore();
protected virtual string GetHelpTextCore();
function getHelpTextCore()
Protected Overridable Function GetHelpTextCore () As String

傳回

String

Platform::String

winrt::hstring

說明文字。

備註

指定說明文字的控件行為並不常見。 在大部分情況下,需要的應用程式會在UI中建立說明文字資訊,方法是將 AutomationProperties.HelpText 附加屬性套用至UI定義 XAML。

適用於

另請參閱