WindowInteropHelper.Owner Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the handle of the Windows Presentation Foundation (WPF) owner window.
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
Property Value
IntPtr
nativeint
The owner window handle (HWND).
- Attributes
Remarks
You can reparent windows by setting this property. As is true for general Win32 programming, do not reparent windows that are already in use.
Applies to
See also
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.