AutomationPeer.IsHwndHost プロパティ
定義
この AutomationPeer に関連付けられている要素が Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) で hwnds
をホストしているかどうかを示す値を取得します。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
プロパティ値
この AutomationPeer が Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) で true
をホストしている場合は hwnds
。それ以外の場合は false
。true
if the element that is associated with this AutomationPeer hosts hwnds
in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF); otherwise, false
.
注釈
でホストされる要素の2つの例 hwnds
Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) WindowsFormsHost として、とが Popup あります。Two examples of elements that host hwnds
in Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) are WindowsFormsHost and Popup.
これらのピアは、もオーバーライドする必要があり GetHostRawElementProviderCore ます。These peers must also override GetHostRawElementProviderCore.