Skip to main content

GanttControl.TimescaleColumnSize Property

Gets or sets the timescale unit width as a percentage of the default width.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.1.dll

NuGet Package: DevExpress.Win.Gantt

Declaration

[DefaultValue(100)]
[DXCategory("Appearance")]
public double TimescaleColumnSize { get; set; }

Property Value

Type Default Description
Double 100

A Double value that specifies the unit width as a percentage of the default width.

Remarks

Timescale units (month, week, day, etc.) have a predefined width. The predefined width depends on the unit text (month names, day numbers, etc.). Use the TimescaleColumnSize property to specify the unit width as a percentage of the default width. For example, if this property is set to 50, the unit width is half of the default width. The figures below show the default width and doubled width for month units.

image

image

See Also