AppWindow.OwnerWindowId 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 the identifier of the owner of this window; or 0 if not owned.
public:
property WindowId OwnerWindowId { WindowId get(); };
WindowId OwnerWindowId();
public WindowId OwnerWindowId { get; }
var windowId = appWindow.ownerWindowId;
Public ReadOnly Property OwnerWindowId As WindowId
Property Value
The identifier of the owner of this window; 0 if not owned.
Remarks
If you created this window an owned window by using the Create method overload that has a ownerWindowsId
parameter, this property returns the ID of the owner window.