Version

PreferredMaxTileRows Property

Returns or sets the preferred maximum number of rows in which tiles are displayed.
Syntax
'Declaration
 
Public Property PreferredMaxTileRows As Integer
public int PreferredMaxTileRows {get; set;}
Remarks

Tiles are arranged from top to bottom, and then from left to right. The PreferredMaxTileRows property determines the number of logical tile rows that appear in a column before wrapping to a new column.

The height of a logical tile row is determined by the value of the TileSizeSmall property. Medium and Wide tiles occupy two logical rows, and Large tiles occupy four tile rows.

The control always displays a minimum of four tile rows (a large tile occupies four rows), so that all tile sizes can be accommodated.

Assigning a value of zero to this property results in the control displaying as many tile rows as is possible based on the current height of the control.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also