Calendar.SelectionMode Property
.NET Framework 3.0
Gets or sets the selection mode of a Calendar object.
Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)
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)
Not applicable.
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 | ||
|---|---|---|---|
| Day | 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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show:
Note: