AppBar.IsExitButtonEnabled Property
Gets or sets whether the Exit button is displayed in the AppBar.
Namespace: DevExpress.Xpf.WindowsUI
Assembly: DevExpress.Xpf.Controls.v25.1.dll
NuGet Package: DevExpress.Wpf.Controls
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true, if the Exit button is displayed; otherwise, false. The default value is false. |
#Remarks
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.