AutomationPeer.IsHwndHost Proprietà

Definizione

Ottiene un valore che indica se l’elemento associato a questo AutomationPeer contiene hwnds in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF).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

Valore della proprietà

true se l’elemento associato a questo AutomationPeer contiene hwnds in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF); in caso contrario, false.true if the element that is associated with this AutomationPeer hosts hwnds in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF); otherwise, false.

Commenti

Due esempi di elementi che ospitano hwnds in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) sono WindowsFormsHost e Popup.Two examples of elements that host hwnds in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) are WindowsFormsHost and Popup.

Questi peer devono inoltre eseguire l'override di GetHostRawElementProviderCore.These peers must also override GetHostRawElementProviderCore.

Si applica a

Vedi anche