UIElementAutomationPeer.FromElement(UIElement) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen UIElementiçin öğesini UIElementAutomationPeer alır.
public:
static System::Windows::Automation::Peers::AutomationPeer ^ FromElement(System::Windows::UIElement ^ element);
public static System.Windows.Automation.Peers.AutomationPeer FromElement (System.Windows.UIElement element);
static member FromElement : System.Windows.UIElement -> System.Windows.Automation.Peers.AutomationPeer
Public Shared Function FromElement (element As UIElement) As AutomationPeer
Parametreler
- element
- UIElement
UIElement bu ile UIElementAutomationPeerilişkili olan .
Döndürülenler
UIElementAutomationPeeryöntemi tarafından CreatePeerForElement(UIElement) oluşturulmadıysa ; veya null
.UIElementAutomationPeer