AppBar.IsExitButtonEnabled Property

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

Namespace: DevExpress.Xpf.WindowsUI

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

Declaration

public bool IsExitButtonEnabled { get; set; }
Public Property IsExitButtonEnabled As Boolean

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.

See Also