-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Automation.Peers.AutomationPeer.GetLabeledByCore |
winrt method |
Provides the peer's behavior when a Microsoft UI Automation client calls GetLabeledBy or an equivalent Microsoft UI Automation client API.
The AutomationPeer for the element that is targeted by the UIElement.
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.
FrameworkElementAutomationPeer, Custom automation peers, Accessibility