Share via


msBoxLines property

Do not use. This property has been replaced by the -ms-flex-wrap property, and is no longer recognized by Windows Internet Explorer. To ensure compatibility in the future, applications using this property should be updated accordingly. Gets or sets a value that specifies whether child elements wrap onto multiple lines or columns based on the space available in the object.

This property is read/write.

 

Syntax

HRESULT put_msBoxLines(
  [in]          BSTR v
);

HRESULT get_msBoxLines(
  [out, retval] BSTR *p
);

Property values

Type: BSTR

The excess space distribution.

String format

single | multiple

CSS information

Applies To box elements
Media visual
Inherited no
Initial Value single

Standards information

Remarks

Each child element is resized to its minimum width or height before the object is resized to accomodate additional rows or columns.

Each successive rows is inserted below the previous row when IHTMLCSSStyleDeclaration::msBoxDirection is set to normal or above the previous row when IHTMLCSSStyleDeclaration::msBoxDirection is set to reverse.

Each successive column is inserted to the right of the previous column when IHTMLCSSStyleDeclaration::msBoxDirection is set to normal or to the left of the previous column when IHTMLCSSStyleDeclaration::msBoxDirection is set to reverse.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll