Version

CellWidth Property

The width of the cell in device-independent units (1/96th inch per unit).
Syntax
'Declaration
 
Public Property CellWidth As Double
public double CellWidth {get; set;}
Remarks

Note that the cell width is restricted to being 6 units or larger. Setting the CellWidth to a smaller value will result in the cell width of 6. Also the field cannot be resized via UI smaller than 6 units. However note that setting CellMaxWidth property to a smaller value will override this restriction.

Note: This setting is ignored if GridViewSettings.Orientation is 'Horizontal' and DataRecordSizingMode is not set to 'Fixed', 'IndividuallySizable' or 'SizableSynchronized'.

Example
The following sample demonstrates disabling resizing of the columns using the AllowResize property and defaulting the CellWidth.
<igDP:XamDataGrid BindToSampleData="True">
    
<igDP:XamDataGrid.FieldSettings>
        
<igDP:FieldSettings
                
AllowResize="False" 
                
CellWidth="200" />
    
</igDP:XamDataGrid.FieldSettings>
</igDP:XamDataGrid>
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