wpf-devexpress-dot-xpf-dot-windowsui-dot-appbar-0c0a40e4.md
Gets or sets the dismissal mode that specifies whether, and if so how, the AppBar closes. This is a dependency property.
Namespace : DevExpress.Xpf.WindowsUI
Assembly : DevExpress.Xpf.Controls.v25.2.dll
NuGet Package : DevExpress.Wpf.Controls
public AppBarHideMode HideMode { get; set; }
Public Property HideMode As AppBarHideMode
| Type | Description |
|---|---|
| DevExpress.Xpf.WindowsUI.AppBarHideMode |
An DevExpress.Xpf.WindowsUI.AppBarHideMode enumeration value that specifies whether, and if so how, the AppBar closes.
|
The app bar can be visible or hidden in the application window. An end-user can open the app bar by right clicking the mouse in the application’s client area. In code, app bar visibility can be specified by the AppBar.IsOpen property. By default, the opened app bar automatically disappears from view when an end-user interacts with the application anywhere outside the app bar. This behavior is called light dismiss. You can change the dismissal mode with the HideMode property. The AppBarHideMode enumeration provides the following values:
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HideMode property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-appbar-display-windows-10-top-bottom-menu/CS/AppBarExample/MainWindow.xaml#L9
<Grid>
<dxwui:AppBar x:Name="appBar" IsOpen="True" HideMode="Sticky" IsExitButtonEnabled="True">
<dxwui:AppBarButton Content="T" Label="Top" Click="OnMoveAppBarTop"/>
See Also