LabeledBy Property

AutomationElement.AutomationElementInformation.LabeledBy Property


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

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

Public ReadOnly Property LabeledBy As AutomationElement

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
© 2015 Microsoft