CodeCharge Studio All C#.NET VB.NET

Mode Run-Time Property (.NET)

Applies to

Calendar control

Syntax

C#.NET

public CalendarMode  Mode{get;set;}

VB.NET

Public Property Mode() As CalendarMode 

Description

Retrives or specifies the calendar type.
Type Description
Full  The calendar will display 12 months of the given year.
Quarter  The calendar will display 3 months of the quarter to which the selected date belongs.
ThreeMonth  The calendar will display 3 months of a quarter: the selected, next and previous months.
OneMonth  The calendar will display 1 selected month.

Examples

C#.NET

Calendar1.Mode = CalendarMode.Quarter;

VB.NET

Calendar1.Mode = CalendarMode.Quarter

See also

Text Property


On-line, printable versions and updates