Export (0) Print
Expand All

AutomationProperties.GetLabeledBy Method

Gets the LabeledBy attached property for the specified DependencyObject.

Namespace:  System.Windows.Automation
Assembly:  PresentationCore (in PresentationCore.dll)

public static UIElement GetLabeledBy(
	DependencyObject element
)

Parameters

element
Type: System.Windows.DependencyObject

The DependencyObject to check.

Return Value

Type: System.Windows.UIElement
The element that is targeted by the label.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft