FrameworkContentElementAutomationPeer.GetLabeledByCore メソッド

定義

このLabelAutomationPeerに関連付けられているLabelを対象とするFrameworkContentElementFrameworkContentElementAutomationPeerを取得します。 このメソッドは、 GetLabeledBy()によって呼び出されます。

protected:
 override System::Windows::Automation::Peers::AutomationPeer ^ GetLabeledByCore();
protected override System.Windows.Automation.Peers.AutomationPeer GetLabeledByCore();
override this.GetLabeledByCore : unit -> System.Windows.Automation.Peers.AutomationPeer
Protected Overrides Function GetLabeledByCore () As AutomationPeer

返品

LabelAutomationPeerの対象となる要素のLabel

注釈

たとえば、要素がComboBox コントロールの場合、GetLabeledBy メソッドは、AutomationPeerに関連付けられているLabelComboBoxを取得できます。

適用対象

こちらもご覧ください