UIElement3DAutomationPeer.CreatePeerForElement(UIElement3D) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a UIElement3DAutomationPeer for the specified UIElement3D.
public:
static System::Windows::Automation::Peers::AutomationPeer ^ CreatePeerForElement(System::Windows::UIElement3D ^ element);
public static System.Windows.Automation.Peers.AutomationPeer CreatePeerForElement (System.Windows.UIElement3D element);
static member CreatePeerForElement : System.Windows.UIElement3D -> System.Windows.Automation.Peers.AutomationPeer
Public Shared Function CreatePeerForElement (element As UIElement3D) As AutomationPeer
Parameters
- element
- UIElement3D
The UIElement3D that is associated with this UIElement3DAutomationPeer.
Returns
A UIElement3DAutomationPeer for the specified UIElement3D.
Remarks
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 Versions and Dependencies.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour