AutomationProperties.GetLabeledBy(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value of the AutomationProperties.LabeledBy attached property for the specified DependencyObject.
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
Parameters
- element
- DependencyObject
The DependencyObject to check.
Returns
The element that is targeted by the label.