EN
Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.

Flyout.alignment property

Applies to Windows only

Gets or sets the default alignment to be used for this Flyout.

This value can be overridden by the alignment passed in the show method.

Syntax


var alignment = flyout.alignment;
flyout.alignment = alignment;

Property value

Type: Object

For "top" or "bottom" values of Flyout.placement, the alignment of the Flyout to the anchor's edge: the string literal "center", "left", or "right". Defaults to "center".

Remarks

The alignment specified doesn't mirror for right-to-left languages; left is always left and right is always right.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

Flyout
Menu
MenuCommand
Displaying popups
Laying out your UI
HTML flyout control sample
Designers
Command patterns
Flyout
Guidelines for flyouts
Context menu
Guidelines for context menus

 

 

Mostra:
© 2014 Microsoft