Xceed Toolkit Plus for WPF v4.6 Documentation
Columns Property (UniformGrid)


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.Controls Namespace > UniformGrid Class : Columns Property
Gets or sets the number of columns that are in the grid.
Syntax
'Declaration
 
Public Property Columns As Integer
'Usage
 
Dim instance As UniformGrid
Dim value As Integer
 
instance.Columns = value
 
value = instance.Columns
public int Columns {get; set;}

Property Value

The number of columns that are in the grid. The default is 1.
Remarks

If Orientation is Horizontal, the children will be laid out horizontally up to the maximum specified in the Columns property before starting a new row.

If Orientation is Vertical, the children will be laid out vertically up to the maximum specified in the Rows property before starting a new column.

Requirements

Target Platforms: Windows 11, Windows 10, 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

Reference

UniformGrid Class
UniformGrid Members