AutomationPeer.IsHwndHost Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob das Element, das diesen AutomationPeer Hosts hwnds in Windows Presentation Foundation (WPF) zugeordnet ist.

protected public:
 virtual property bool IsHwndHost { bool get(); };
protected internal virtual bool IsHwndHost { get; }
member this.IsHwndHost : bool
Protected Friend Overridable ReadOnly Property IsHwndHost As Boolean

Eigenschaftswert

true, wenn das element, das diesem AutomationPeer hosts hwnds in Windows Presentation Foundation (WPF) zugeordnet ist; andernfalls false.

Hinweise

Zwei Beispiele für Elemente, die hwnds in Windows Presentation Foundation (WPF) hosten, sind WindowsFormsHost und Popup.

Diese Peers müssen auch außer Kraft setzen GetHostRawElementProviderCore.

Gilt für:

Weitere Informationen