Export (0) Print
Expand All

UIElement3DAutomationPeer.GetAutomationIdCore Method

Returns the string that uniquely identifies the UIElement3D that is associated with this UIElement3DAutomationPeer. This method is called by GetAutomationId.

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

protected override string GetAutomationIdCore()

Return Value

Type: System.String
The string that uniquely identifies the UIElement3D that is associated with this UIElement3DAutomationPeer.

This method calls the AutomationProperties.GetAutomationId method to get the value. AutomationProperties.GetAutomationId returns a value only when the AutomationProperties.AutomationId property is set. You can override GetAutomationIdCore and add logic to provide an identifier 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

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft