Windows apps
Collapse the table of content
Expand the table of content

-ms-box-orient property

Do not use. This property has been replaced by the -ms-flex-direction property, and is no longer recognized by a Windows Store app using JavaScript. To ensure compatibility in the future, applications using this property should be updated accordingly. Gets or sets a value that specifies the orientation in the layout of all child elements of the object.

This property is read/write.

Flexible Box Layout Module, Section 2

Syntax

-ms-box-orient: horizontal | vertical | inline-axis | block-axis | inherit

Property values

One of the following orientation values.

horizontal

Child elements are displayed in a horizontal line from left to right.

vertical

Child elements are displayed in a vertical stack from top to bottom.

inline-axis

Default. Child elements are displayed along the inline axis.

block-axis

Child elements are displayed along the block axis.

inherit

Child elements are displayed in the same orientation as the computed value of this property for the parent element.

CSS information

Applies Tobox elements
Mediavisual
Inheritedno
Initial Valueinline-axis

Standards information

See also

CSSStyleDeclaration
currentStyle
style

 

 

Build date: 9/4/2012

Community Additions

Show:
© 2016 Microsoft