WindowInteropHelper.Owner 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 Windows Presentation Foundation(WPF)擁有者視窗的代言名詞。
public:
property IntPtr Owner { IntPtr get(); void set(IntPtr value); };
public IntPtr Owner { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
public IntPtr Owner { get; set; }
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.Owner : nativeint with get, set
member this.Owner : nativeint with get, set
Public Property Owner As IntPtr
屬性值
IntPtr
nativeint
車主的窗戶把手(HWND)。
- 屬性
備註
你可以透過設定這個屬性來重新父化視窗。 如同一般 Win32 程式設計,不要重新父化已在使用的視窗。