Version

UniformGrid Class

A custom panel that positions each item in a separate cell within a grid of evenly sized cells.
Syntax
'Declaration
 
Public Class UniformGrid 
   Inherits System.Windows.Controls.Panel
public class UniformGrid : System.Windows.Controls.Panel 
Remarks

The number of rows and columns of cells are based on the Rows and Columns properties respectively. The first item is positioned based on the FirstRow and FirstColumn. Each subsequent item is positioned in the next column. When there are no more columns within the row, the next item will be positioned in the first cell of the next row.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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