Redigera

Dela via


UIElement3DAutomationPeer.FromElement(UIElement3D) Method

Definition

Returns the UIElement3DAutomationPeer for the specified UIElement3D.

public:
 static System::Windows::Automation::Peers::AutomationPeer ^ FromElement(System::Windows::UIElement3D ^ element);
public static System.Windows.Automation.Peers.AutomationPeer FromElement (System.Windows.UIElement3D element);
static member FromElement : System.Windows.UIElement3D -> System.Windows.Automation.Peers.AutomationPeer
Public Shared Function FromElement (element As UIElement3D) As AutomationPeer

Parameters

element
UIElement3D

The UIElement3D that is associated with this UIElement3DAutomationPeer.

Returns

The UIElement3DAutomationPeer, or null if the UIElement3DAutomationPeer was not created by the CreatePeerForElement(UIElement3D) method.

Remarks

UIElement3DAutomationPeer is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to