Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UIElement3DAutomationPeer.CreatePeerForElement Method

Creates a UIElement3DAutomationPeer for the specified UIElement3D.

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

public static AutomationPeer CreatePeerForElement(
	UIElement3D element
)

Parameters

element
Type: System.Windows.UIElement3D

The UIElement3D that is associated with this UIElement3DAutomationPeer.

This UIElement3DAutomationPeer remains in memory until the associated UIElement3D is destroyed.

The same instance of the UIElement3DAutomationPeer is returned from subsequent calls to this method and to calls to FromElement. The type of the peer is determined by the OnCreateAutomationPeer virtual callback. If UIElement3D does not implement the callback, no UIElement3DAutomationPeer is created and this method returns null.

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