Skip to main content

GetLabeledBy Method

Gets the automation peer for the label that is targeted to the element.

Definition

Namespace: Avalonia.Automation.Peers
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public AutomationPeer? GetLabeledBy()

Return Value

AutomationPeer

Remarks

Identifies an automation peer representing an element which that contains the text label for this element.

WindowsUIA_LabeledByPropertyId (not yet implemented)
macOSNSAccessibilityProtocol.accessibilityLabelUIElements (not yet implemented)

See Also

Reference

AutomationPeer Class
Avalonia.Automation.Peers Namespace