Jaa


AutomationPeer.GetLabeledByCore Method

Definition

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

protected:
 virtual AutomationPeer ^ GetLabeledByCore() = GetLabeledByCore;
AutomationPeer GetLabeledByCore();
protected virtual AutomationPeer GetLabeledByCore();
function getLabeledByCore()
Protected Overridable Function GetLabeledByCore () As AutomationPeer

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.

Applies to

See also