AutomationProperties.GetLabeledBy(DependencyObject) 方法

定義

取得指定DependencyObjectAutomationProperties.LabeledBy附加屬性的值。

public:
 static UIElement ^ GetLabeledBy(DependencyObject ^ element);
 static UIElement GetLabeledBy(DependencyObject const& element);
public static UIElement GetLabeledBy(DependencyObject element);
function getLabeledBy(element)
Public Shared Function GetLabeledBy (element As DependencyObject) As UIElement

參數

element
DependencyObject

要檢查 的 DependencyObject

傳回

作為標籤目標的項目。

適用於

另請參閱