AutomationPeer.GetLabeledByCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.