AutomationProperties.GetLabeledBy(DependencyObject) AutomationProperties.GetLabeledBy(DependencyObject) AutomationProperties.GetLabeledBy(DependencyObject) AutomationProperties.GetLabeledBy(DependencyObject) Method

Definition

Gets the value of the AutomationProperties.LabeledBy attached property for the specified DependencyObject.

public : static UIElement GetLabeledBy(DependencyObject element)
static UIElement GetLabeledBy(DependencyObject element) const;
public static UIElement GetLabeledBy(DependencyObject element)
Public Shared Function GetLabeledBy(element As DependencyObject) As UIElement

Parameters

Returns

The element that is targeted by the label.