AutomationPeer.IsHwndHost Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob das Element, das diesem AutomationPeer zugeordnet ist, hwnds in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) hostet.Gets a value that indicates whether the element that is associated with this AutomationPeer hosts hwnds in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF).

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 zugeordnet ist, hwnds in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) hostet, andernfalls false.true if the element that is associated with this AutomationPeer hosts hwnds in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF); otherwise, false.

Hinweise

Zwei Beispiele für Elemente, die in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) hwnds gehostet werden, sind WindowsFormsHost und Popup.Two examples of elements that host hwnds in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) are WindowsFormsHost and Popup.

Diese Peers müssen auch GetHostRawElementProviderCoreüberschreiben.These peers must also override GetHostRawElementProviderCore.

Gilt für:

Siehe auch