UIElement3DAutomationPeer.GetLabeledByCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.