28 references to CalendarSelectionMode
System.Web (17)
UI\WebControls\Calendar.cs (17)
474
DefaultValue(
CalendarSelectionMode
.Day),
477
public
CalendarSelectionMode
SelectionMode {
480
return((csm == null) ?
CalendarSelectionMode
.Day : (
CalendarSelectionMode
)csm);
483
if (value <
CalendarSelectionMode
.None || value >
CalendarSelectionMode
.DayWeekMonth) {
997
/// <para>Determines if a <see cref='System.Web.UI.WebControls.
CalendarSelectionMode
'/>
1000
protected bool HasWeekSelectors(
CalendarSelectionMode
selectionMode) {
1001
return(selectionMode ==
CalendarSelectionMode
.DayWeek
1002
|| selectionMode ==
CalendarSelectionMode
.DayWeekMonth);
1232
CalendarSelectionMode
selectionMode = SelectionMode;
1357
private void RenderDayHeader(HtmlTextWriter writer, DateTime visibleDate,
CalendarSelectionMode
selectionMode, bool buttonsActive, bool useAccessibleHeader) {
1367
if (selectionMode ==
CalendarSelectionMode
.DayWeekMonth) {
1445
private void RenderDays(HtmlTextWriter writer, DateTime firstDay, DateTime visibleDate,
CalendarSelectionMode
selectionMode, bool buttonsActive, bool useAccessibleHeader) {
1476
bool daysSelectable = buttonsActive && (selectionMode !=
CalendarSelectionMode
.None);
1483
bool inDesignSelectionMode = (DesignMode && SelectionMode !=
CalendarSelectionMode
.None);
1666
private void RenderTitle(HtmlTextWriter writer, DateTime visibleDate,
CalendarSelectionMode
selectionMode, bool buttonsActive, bool useAccessibleHeader) {
System.Web.Mobile (11)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (3)
394
if (Control.SelectionMode ==
CalendarSelectionMode
.DayWeek ||
395
Control.SelectionMode ==
CalendarSelectionMode
.DayWeekMonth)
399
if (Control.SelectionMode ==
CalendarSelectionMode
.DayWeekMonth)
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (3)
376
if (Control.SelectionMode ==
CalendarSelectionMode
.DayWeek ||
377
Control.SelectionMode ==
CalendarSelectionMode
.DayWeekMonth)
381
if (Control.SelectionMode ==
CalendarSelectionMode
.DayWeekMonth)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (3)
344
if (Control.SelectionMode == WebControls.
CalendarSelectionMode
.DayWeek ||
345
Control.SelectionMode == WebControls.
CalendarSelectionMode
.DayWeekMonth) {
349
if (Control.SelectionMode == WebControls.
CalendarSelectionMode
.DayWeekMonth) {
UI\MobileControls\Calendar.cs (2)
155
DefaultValue(
CalendarSelectionMode
.Day),
159
public
CalendarSelectionMode
SelectionMode