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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기