FrameworkContentElementAutomationPeer.GetLabeledByCore メソッド

定義

この FrameworkContentElementAutomationPeer に関連する FrameworkContentElement をターゲットとする LabelLabelAutomationPeer を取得します。 このメソッドは 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

戻り値

Label によりターゲットとされる要素の LabelAutomationPeer

注釈

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

適用対象

こちらもご覧ください