UIElement3DAutomationPeer.GetAutomationControlTypeCore Method ()


Returns the control type for the UIElement3D that is associated with this UIElement3DAutomationPeer. This method is called by GetAutomationControlType.

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

protected override AutomationControlType GetAutomationControlTypeCore()

If your class matches one of the known control types, override the GetAutomationControlTypeCore method to return that ControlType. Note that although the existing ControlType values are generally associated with 2D controls, the ControlType indicates a control's functionality, not its appearance. So if your UIElement3D invokes an action when the user clicks it, you probably want GetHelpTextCore to return ControlType.Button.

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