Back to Devexpress

RepositoryItemDateEdit.ColumnCount Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemdateedit-8b6ab42b.md

latest2.2 KB
Original Source

RepositoryItemDateEdit.ColumnCount Property

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

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(1)]
[DXCategory("Behavior")]
public virtual int ColumnCount { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(1)>
Public Overridable Property ColumnCount As Integer

Property Value

TypeDefaultDescription
Int321

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.

See Also

RowCount

ShowMonthHeaders

RepositoryItemDateEdit Class

RepositoryItemDateEdit Members

DevExpress.XtraEditors.Repository Namespace