aspnet-devexpress-dot-web-dot-aspxgantt-dot-ganttcolumnbase.md
Specifies the column’s minimum width.
Namespace : DevExpress.Web.ASPxGantt
Assembly : DevExpress.Web.ASPxGantt.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(0)]
public int MinWidth { get; set; }
<DefaultValue(0)>
Public Property MinWidth As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 0 |
The minimum width.
|
Use the MinWidth property to specify the minimum width of an individual column.
<dx:ASPxGantt ID="Gantt" runat="server" ... >
// ...
<SettingsTaskList Width="45%">
<Columns>
<dx:TaskDataColumn TaskField="Title" MinWidth="160" />
// ...
</Columns>
</SettingsTaskList>
</dx:ASPxGantt>
To specify the minimum width for all columns in the task list, use the ColumnMinWidth property.
<dx:ASPxGantt ID="Gantt" runat="server" ... >
// ...
<SettingsTaskList ColumnMinWidth="50" />
</dx:ASPxGantt>
See Also