Calendar.SelectionMode Property
Assembly: System.Web.Mobile (in system.web.mobile.dll)
[BindableAttribute(true)] public: property CalendarSelectionMode SelectionMode { CalendarSelectionMode get (); void set (CalendarSelectionMode value); }
/** @property */ public CalendarSelectionMode get_SelectionMode () /** @property */ public void set_SelectionMode (CalendarSelectionMode value)
public function get SelectionMode () : CalendarSelectionMode public function set SelectionMode (value : CalendarSelectionMode)
Property Value
The selection mode of the calendar control. The default is Day.| Exception type | Condition |
|---|---|
| The specified value is not one of the CalendarSelectionMode values. |
The Web Forms CalendarSelectionMode enumeration provides the selections described in the following table.
| Value | Description | ||
|---|---|---|---|
| A single date can be selected on the Calendar control. | |||
| A single date or entire week can be selected on the Calendar control. | |||
| A single date, week, or entire month can be selected on the Calendar control. | |||
| No dates can be selected on the Calendar control.
|
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Note