Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AutomationElement.AutomationElementInformation.LabeledBy Property

Definition

Namespace:
System.Windows.Automation
Assembly:
UIAutomationClient.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?