CodeCharge Studio All C#.NET VB.NET

MonthsInRow Run-Time Property (.NET)

Applies to

Calendar control

Syntax

C#.NET

public int MonthsInRow{get;set;}

VB.NET

Public Property MonthsInRow() As Integer

Description

Retrives or specifies the number of calendar columns. An annual calendar can have between 1 and 12 columns, while quarterly and 3-months calendars can have between 1 and 3 columns.

Examples

C#.NET

Calendar1.MonthsInRow = 2;

VB.NET

Calendar1.MonthsInRow = 2


On-line, printable versions and updates