UIElement3DAutomationPeer.GetLabeledByCore Method

Definition

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

protected override System.Windows.Automation.Peers.AutomationPeer GetLabeledByCore ();

Returns

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

Remarks

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 Versions and Dependencies.

Applies to

Produkt Versionen
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9