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
Available since 3.0
Return to top
Show: