A newer version of this page is available. Switch to the current version.

AppBar.IsExitButtonEnabled Property

Gets or sets whether the Exit button is displayed in the AppBar.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v20.2.dll


public bool IsExitButtonEnabled { get; set; }

Property Value

Type Description

true, if the Exit button is displayed; otherwise, false. The default value is false.


When you implement a Windows Store style application, you may wish to display an application window without its border by setting the WindowStyle property to None. When the window is rendered without a border, the common Minimize, Maximize, Restore and Close buttons are not displayed. In this case, you can display the predefined Exit button within the AppBar. If the IsExitButtonEnabled is set to true, the Exit button is displayed on the far right right of the AppBar bar and closes the window by a click.

You can also use a custom command as the Exit button’s command. To do this, use the AppBar.ExitCommand property.

See Also