Version

ColumnWidthType Enumeration

An Enum that describes the type of width for the Column.
Syntax
'Declaration
 
Public Enum ColumnWidthType 
   Inherits System.Enum
public enum ColumnWidthType : System.Enum 
Members
MemberDescription
AutoA column's width will size to the largest header or cell in the column. Note: while scrolling the width of the column may grow as larger content comes into view, however, it will never decrease in width.
InitialAutoA column's width will size to the largest header or cell in the column. However, this will only occur when the grid first loads. Or when a user double clicks on the edge of a column header to resize.
NumericA column's width will size to the value specified.
SizeToCellsA column's width will size to the largest cell in the column. Note: while scrolling the width of the column may grow as larger content comes into view, however, it will never decrease in width.
SizeToHeaderA column's width will size to the header of a column.
StarA column's width will size to fill any remaing space in the XamGrid. If more than one column has a star value specified, the remaing width will be split evenly amongst the columns. If other columns already are taking up the majority of the space, the column's width will be zero. If the XamGrid's width is Infinity, then the column will act as ColumnWidthType.Auto width.
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