AutomationPeer.GetLabeledByCore メソッド

定義

Microsoft UI オートメーション クライアントが GetLabeledBy または同等の Microsoft UI オートメーション クライアント API を呼び出すときのピアの動作を提供します。

protected:
 virtual AutomationPeer ^ GetLabeledByCore() = GetLabeledByCore;
AutomationPeer GetLabeledByCore();
protected virtual AutomationPeer GetLabeledByCore();
function getLabeledByCore()
Protected Overridable Function GetLabeledByCore () As AutomationPeer

戻り値

UIElement の対象となる要素の AutomationPeer

注釈

ヘッダーまたは類似のメタファーを使用する複合データ表示コントロールを除き、ラベル付けのコントロールの動作を指定することは一般的ではありません。 ほとんどの場合、アプリは AutomationProperties.LabeledBy 添付プロパティを UI 定義 XAML に適用することで、アプリ固有の UI 内の要素間にラベル付け情報を確立します。

適用対象

こちらもご覧ください