AutomationElement::AutomationElementInformation::LabeledBy Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

public:
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
Show: