sticky property

AppBar.sticky property

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

Gets or sets a value that indicates whether the AppBar is sticky (won't light dismiss). If not sticky, the app bar dismisses normally when the user touches outside of the appbar.

Syntax


var sticky = appBar.sticky;
appBar.sticky = sticky;

Property value

Type: Boolean

true if the AppBar will not light dismiss, although the user can still dismiss it explicitly with the edge gesture.

false if the AppBar is not sticky, and will light dismiss.

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

Library

Ui.js

See also

AppBar

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2017 Microsoft