Export (0) Print
Expand All

ItemAutomationPeer.GetLabeledByCore Method

Gets the AutomationPeer for the Label that is targeted to the specified UIElement.

Namespace:  System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override AutomationPeer GetLabeledByCore()

Return Value

Type: System.Windows.Automation.Peers.AutomationPeer
The LabelAutomationPeer for the element that is targeted by the Label.

The UIElement corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer. This method is called by GetLabeledBy.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft