GridColumnUnitType Enum
In This Article
Lists the values that are used to specify the BaseColumn.Width property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
#Members
Name | Description |
---|---|
Pixel
|
The Grid |
Star
|
The Grid |
Auto
|
The Grid |
#Related API Members
The following properties accept/return GridColumnUnitType values:
#Remarks
<dxg:GridControl.Columns>
<!-- Absolute width in pixels -->
<dxg:GridColumn FieldName="Name" Width="150"/>
<!-- Proportional (star) width -->
<dxg:GridColumn FieldName="Birthday" Width="2*"/>
<dxg:GridColumn FieldName="Visits" Width="*"/>
<!-- Auto width -->
<dxg:GridColumn FieldName="City" Width="Auto"/>
</dxg:GridControl.Columns>
See Also