AutomationElement::AutomationElementInformation::LabeledBy Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the element that contains the text label for this element.

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

property AutomationElement^ LabeledBy {
	AutomationElement^ get();

Property Value

Type: System.Windows.Automation::AutomationElement^

The element that is the label for this element.

This property could be used to retrieve, for example, the static text label for a combo box.

For more information, see LabeledByProperty.

.NET Framework
Available since 3.0
Return to top