Skip to main content
A newer version of this page is available. .

RepositoryItemDateEdit.ColumnCount Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(1)]
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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ColumnCount property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also