Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.26 KB

automationpeer_getlabeledbycore_899978507.md

File metadata and controls

26 lines (17 loc) · 1.26 KB
-api-id -api-type
M:Windows.UI.Xaml.Automation.Peers.AutomationPeer.GetLabeledByCore
winrt method

Windows.UI.Xaml.Automation.Peers.AutomationPeer.GetLabeledByCore

-description

Provides the peer's behavior when a Microsoft UI Automation client calls GetLabeledBy or an equivalent Microsoft UI Automation client API.

-returns

The AutomationPeer for the element that is targeted by the UIElement.

-remarks

Specifying a control behavior for labeling is uncommon except for composite data presentation controls that use headers or similar metaphors. In most cases apps establish labeling information between the elements in an app-specific UI by applying the AutomationProperties.LabeledBy attached property to the UI definition XAML.

-examples

-see-also

FrameworkElementAutomationPeer, Custom automation peers, Accessibility