C# Class UICalendar.CalendarMonthView

Inheritance: UIView
Datei anzeigen Open project: Clancey/UICalendar 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, nfloat currentWidth ) : System
CalendarMonthView ( System.DateTime currentDate, bool showToolBar ) : System
Draw ( CGRect 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 ( CGRect rect ) : void
DrawMonthLabel ( CGRect 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, nfloat currentWidth ) : System
currentDate System.DateTime
markedDays System.DateTime
currentWidth nfloat
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 ( CGRect rect ) : void
rect CGRect
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