Back to Devexpress

CalendarControlBase.ColumnCount Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-calendarcontrolbase-545a4eeb.md

latest2.3 KB
Original Source

CalendarControlBase.ColumnCount Property

Gets or sets the number of months displayed horizontally.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Int320

The number of months displayed horizontally.

|

Remarks

To display several months simultaneously, use the ColumnCount and/or CalendarControlBase.RowCount properties.

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

See Also

RowCount

ShowMonthHeaders

CalendarVerticalIndent

CalendarHorizontalIndent

CalendarControlBase Class

CalendarControlBase Members

DevExpress.XtraEditors.Controls Namespace