AutomationPeer.IsHwndHost Propriedade

Definição

Obtém um valor que indica se o elemento associado a este AutomationPeer hospeda hwnds em 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

Valor da propriedade

true se o elemento associado a esse AutomationPeer hospeda hwnds no Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF); caso contrário, false.true if the element that is associated with this AutomationPeer hosts hwnds in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF); otherwise, false.

Comentários

Dois exemplos de elementos que hospedam hwnds em Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) são WindowsFormsHost e Popup.Two examples of elements that host hwnds in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) are WindowsFormsHost and Popup.

Esses pares também devem substituir GetHostRawElementProviderCore.These peers must also override GetHostRawElementProviderCore.

Aplica-se a

Veja também