AutomationPeer.GetLabeledByCore AutomationPeer.GetLabeledByCore AutomationPeer.GetLabeledByCore 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()
virtual AutomationPeer GetLabeledByCore() const;
protected virtual AutomationPeer GetLabeledByCore()
Protected Overridable Function GetLabeledByCore() As AutomationPeer
Returns

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.

See Also