GridColumn.MinWidth Property
Gets or sets the column’s minimum width. This is a bindable property.
Namespace: DevExpress.Maui.DataGrid
Assembly: DevExpress.Maui.DataGrid.dll
NuGet Package: DevExpress.Maui.DataGrid
Declaration
public double MinWidth { get; set; }
Property Value
Type | Description |
---|---|
Double | The column’s minimum width, in density-independent pixels. |
Remarks
DataGridView adjusts column widths, so that the total width of all columns matches the grid width. When you set the Width property for a column, the grid automatically changes widths of other columns. To specify the minimum and maximum width that can be assigned to a column, use the MinWidth and MaxWidth properties.
If the total width of all columns exceeds the grid width, horizontal scrolling is enabled and users can scroll grid columns. If you want a column (or columns) to be always visible onscreen (regardless of scrolling), set the column’s FixedStyle property. To specify whether the grid should display the horizontal scrollbar, use the IsHorizontalScrollBarVisible property.