'Declaration Public Enum ColumnWidthType Inherits System.Enum
public enum ColumnWidthType : System.Enum
Member | Description |
---|---|
Auto | A 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. |
InitialAuto | A 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. |
Numeric | A column's width will size to the value specified. |
SizeToCells | A 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. |
SizeToHeader | A column's width will size to the header of a column. |
Star | A 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. |
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