This documentation is archived and is not being maintained.

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()
You cannot use methods in XAML.

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 3.5 Architecture.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1, 3.0 SP1
Show: