Share via


AppWindow.OwnerWindowId Property

Definition

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.

Applies to