Rediger

Del via


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();
protected override System.Windows.Automation.Peers.AutomationPeer GetLabeledByCore ();
override this.GetLabeledByCore : unit -> System.Windows.Automation.Peers.AutomationPeer
Protected Overrides Function GetLabeledByCore () As AutomationPeer

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