Editare

Partajați prin


AutomationProperties.GetLabeledBy(DependencyObject) Method

Definition

Gets the LabeledBy attached property for the specified DependencyObject.

public:
 static System::Windows::UIElement ^ GetLabeledBy(System::Windows::DependencyObject ^ element);
public static System.Windows.UIElement GetLabeledBy (System.Windows.DependencyObject element);
static member GetLabeledBy : System.Windows.DependencyObject -> System.Windows.UIElement
Public Shared Function GetLabeledBy (element As DependencyObject) As UIElement

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

The element that is targeted by the label.

Applies to

See also