Skip to main content

RepositoryItemDateEdit.ColumnCount Property

Gets or sets the number of months displayed horizontally in the dropdown calendar.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DefaultValue(1)]
[DXCategory("Behavior")]
public virtual int ColumnCount { get; set; }

Property Value

Type Default Description
Int32 1

The number of months displayed horizontally.

Remarks

To display several months simultaneously in the dropdown calendar, use the ColumnCount and/or RepositoryItemDateEdit.RowCount properties.

The following image shows a DateEdit, whose ColumnCount and RowCount properties are set to 2. The RepositoryItemDateEdit.ShowMonthHeaders property is set to true.

dateEdit-RowAndColumnCount.png

See Also