AppWindowTitleBar.RightInset 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 width of the system-reserved region of the upper-right corner of the app window.
public:
property int RightInset { int get(); };
int RightInset();
public int RightInset { get; }
var int32 = appWindowTitleBar.rightInset;
Public ReadOnly Property RightInset As Integer
Property Value
int
The width of the system-reserved region of the upper-right corner of the app window.
Remarks
For apps with custom title bars (that is, ExtendsContentIntoTitleBar is true
), the system reserves the option to have system UI drawn in the upper-left or upper-right corner of the app window. The system draws caption buttons in the upper-right for left-to-right languages and the upper-left for right-to-left languages.
The width of the reserved region on each side is given by LeftInset or RightInset
properties, and its height is given by the Height property. In the areas described by these regions, you should not put any UI that you expect the user to be able to interact with.
This property has the value of 0 if ExtendsContentIntoTitleBar
is false
or if there is no occlusion of the client area by this inset.