Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.13 KB

appbar_issticky.md

File metadata and controls

35 lines (22 loc) · 1.13 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.AppBar.IsSticky
winrt property

Windows.UI.Xaml.Controls.AppBar.IsSticky

-description

Gets or sets a value that indicates whether the AppBar does not close on light dismiss.

-xaml-syntax

<AppBar IsSticky="bool" .../>

-property-value

true if the AppBar does not close on light dismiss. false if the AppBar is hidden on light dismiss.

-remarks

By default, app bars are dismissed when the user interacts with your app anywhere outside of the app bar. This is called light dismiss. To keep commands visible, you can change the dismissal mode by setting the IsSticky property to true. When an app bar is sticky, it's dismissed only when the user right-clicks, presses Windows+Z, or swipes from the top or bottom edge of the screen.

-examples

[!code-xamlIsStickyXAML]

-see-also

Quickstart: Adding app bars