
Calendar | 739
MobileControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.ValueType ➝ System.Enum(System.IComparable, System.IFor-
mattable, System.IConvertible)
➝ BooleanOption
Returned By
FontInfo.{Bold, Italic}
Passed To
FontInfo.{Bold, Italic}
Calendar
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1, disposable
class
The Calendar mobile control wraps a full-blown System.Web.UI.WebControls.Calendar web
control instance, and provides a subset of its functionality (depending on the capabili-
ties of the mobile device). The mobile Calendar class provides most of the same
properties, including the SelectionChanged event, the SelectedDate and SelectedDates properties,
and numerous other display-related properties. The SelectionMode property determines
what type of selections are allowed for the calendar (day, week, or month). The Calendar
does not expose other properties specific to HTML rendering, but you can access the
underlying System.Web.UI.WebControls.Calendar web control through the WebCalendar property
and modify these settings directly. Keep in mind, however, that these settings will not
apply when the calendar is rendered to cHTML or WML. In this case, the full calendar
cannot be shown, and a multiple-screen “wizard-like” calendar control will be used
instead.
public enum ...