UIElement3DAutomationPeer.GetLabeledByCore Method ()

 

Returns the AutomationPeer for the element that targets the UIElement3D for this UIElement3DAutomationPeer. This method is called by GetLabeledBy.

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

protected override AutomationPeer GetLabeledByCore()

Return Value

Type: System.Windows.Automation.Peers.AutomationPeer

The AutomationPeer for the element that targets the UIElement3D for this UIElement3DAutomationPeer.

This method calls the GetLabeledBy method to get the value. GetLabeledBy returns a value only when the AutomationProperties.LabeledBy property is set. You can override GetLabeledByCore and add logic to provide the AutomationPeer in a way that makes sense for your UIElement3D.

UIElement3DAutomationPeer is introduced in the .NET Framework version 3.5. For more information, see .NET Framework Versions and Dependencies.

.NET Framework
Available since 3.0
Return to top
Show: