Window.ExtendsContentIntoTitleBar Property

Definition

Gets or sets a value that specifies whether the default title bar of the window should be removed to create space for app content.

public:
 property bool ExtendsContentIntoTitleBar { bool get(); void set(bool value); };
bool ExtendsContentIntoTitleBar();

void ExtendsContentIntoTitleBar(bool value);
public bool ExtendsContentIntoTitleBar { get; set; }
Public Property ExtendsContentIntoTitleBar As Boolean

Property Value

Boolean

True, if the default title bar should be removed. Otherwise, false.

Remarks

Setting this property only affects rendering, it does not affect pointer (such as mouse) behavior. For example, you can still use the mouse to click down in the area at the top of the window and drag the window around the desktop. To change this behavior, use Window.SetTitleBar.

Extending app content into the title bar does not affect the window buttons (Minimize, Maximize, and Close).

See Window.SetTitleBar for an example of this property.

Applies to

See also