C# Class MonoTouch.Dialog.CalendarMonthView

Inheritance: UIView
显示文件 Open project: Clancey/ClanceyLib Class Usage Examples

Public Properties

Property Type Description
CurrentMonthYear System.DateTime
IsDayMarkedDelegate IsDayMarked
MarkedDay ICollection
MonthChanged DateSelected
OnDateSelected DateSelected
OnFinishedDateSelection DateSelected
ShowToolBar bool
SizeChanged System.Action

Public Methods

Method Description
CalendarMonthView ( ) : System
CalendarMonthView ( System.DateTime currentDate ) : System
CalendarMonthView ( System.DateTime currentDate, System.DateTime markedDays ) : System
CalendarMonthView ( System.DateTime currentDate, bool showToolBar ) : System
Draw ( RectangleF rect ) : void
LayoutSubviews ( ) : void
MoveCalendarMonths ( System.DateTime date, bool animated ) : void
MoveCalendarMonths ( bool upwards, bool animated ) : void

Private Methods

Method Description
CreateNewGrid ( System.DateTime date ) : MonthGridView
DrawDayLabels ( RectangleF rect ) : void
DrawMonthLabel ( RectangleF rect ) : void
HandleNextMonthTouch ( object sender, EventArgs e ) : void
HandlePreviousMonthTouch ( object sender, EventArgs e ) : void
LoadButtons ( ) : void
LoadInitialGrids ( ) : void
isDayMarker ( System.DateTime date ) : bool

Method Details

CalendarMonthView() public method

public CalendarMonthView ( ) : System
return System

CalendarMonthView() public method

public CalendarMonthView ( System.DateTime currentDate ) : System
currentDate System.DateTime
return System

CalendarMonthView() public method

public CalendarMonthView ( System.DateTime currentDate, System.DateTime markedDays ) : System
currentDate System.DateTime
markedDays System.DateTime
return System

CalendarMonthView() public method

public CalendarMonthView ( System.DateTime currentDate, bool showToolBar ) : System
currentDate System.DateTime
showToolBar bool
return System

Draw() public method

public Draw ( RectangleF rect ) : void
rect System.Drawing.RectangleF
return void

LayoutSubviews() public method

public LayoutSubviews ( ) : void
return void

MoveCalendarMonths() public method

public MoveCalendarMonths ( System.DateTime date, bool animated ) : void
date System.DateTime
animated bool
return void

MoveCalendarMonths() public method

public MoveCalendarMonths ( bool upwards, bool animated ) : void
upwards bool
animated bool
return void

Property Details

CurrentMonthYear public_oe property

public DateTime,System CurrentMonthYear
return System.DateTime

IsDayMarkedDelegate public_oe property

public IsDayMarked IsDayMarkedDelegate
return IsDayMarked

MarkedDay public_oe property

public ICollection MarkedDay
return ICollection

MonthChanged public_oe property

public DateSelected MonthChanged
return DateSelected

OnDateSelected public_oe property

public DateSelected OnDateSelected
return DateSelected

OnFinishedDateSelection public_oe property

public DateSelected OnFinishedDateSelection
return DateSelected

ShowToolBar public_oe property

public bool ShowToolBar
return bool

SizeChanged public_oe property

public Action,System SizeChanged
return System.Action