ContentElementAutomationPeer.FromElement(ContentElement) 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.
Gets the ContentElementAutomationPeer for the specified ContentElement.
public:
static System::Windows::Automation::Peers::AutomationPeer ^ FromElement(System::Windows::ContentElement ^ element);
public static System.Windows.Automation.Peers.AutomationPeer FromElement (System.Windows.ContentElement element);
static member FromElement : System.Windows.ContentElement -> System.Windows.Automation.Peers.AutomationPeer
Public Shared Function FromElement (element As ContentElement) As AutomationPeer
Parameters
- element
- ContentElement
The ContentElement that is associated with this ContentElementAutomationPeer.
Returns
The ContentElementAutomationPeer for the specified ContentElement, or null
if the ContentElementAutomationPeer has not been created by the CreatePeerForElement(ContentElement) method.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.