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:
virtual AutomationPeer^ GetLabeledByCore() override

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
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: