All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DayView.ColumnWidthMode Property

Gets or sets whether all DayView columns are equal in width or if column width is calculated individually depending on the number of appointments scheduled for the same time.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v21.1.dll

Declaration

[DefaultValue(ColumnWidthMode.Fixed)]
[XtraSerializableProperty(XtraSerializationFlags.DefaultValue)]
public ColumnWidthMode ColumnWidthMode { get; set; }

Property Value

Type Default Description
DevExpress.XtraScheduler.ColumnWidthMode

Fixed

Specifies whether column widths are equal.

Remarks

This property accepts two values: ColumnWidthMode.Auto and ColumnWidthMode.Fixed.

Fixed
The View is split into equally sized columns (the number of appointments in day columns is irrelevant). This is the default behavior.
Fixed Column Width Mode
Auto
In this mode, the View automatically calculates day column widths depending on the number of appointments that occupy the same time slot.
Auto Column Width Mode

In DayView, this property is in effect when multiple days are selected. ColumnWidthMode is also available in DayView descendants: FullWeekView and WorkWeekView.

Both column width modes allow you to handle the CustomDayViewColumnWidth event to set up custom column widhts (in relative units).

See Also