AutomationElement.AutomationElementInformation.LabeledBy Property

Definition

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

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

Remarks

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

For more information, see LabeledByProperty.

Applies to