AutomationElement.AutomationElementInformation.LabeledBy Property


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

 property System::Windows::Automation::AutomationElement ^ LabeledBy { System::Windows::Automation::AutomationElement ^ get(); };
public System.Windows.Automation.AutomationElement LabeledBy { get; }
member this.LabeledBy : System.Windows.Automation.AutomationElement
Public ReadOnly Property LabeledBy As AutomationElement

Property Value

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.

Applies to