C# Class TodoApp.iOS.Controls.CalendarMonthView

Inheritance: UIView
Afficher le fichier Open project: strongloop/loopback-example-xamarin Class Usage Examples

Méthodes publiques

Свойство Type Description
BoxHeight int
BoxWidth int
CurrentMonthYear System.DateTime
CurrentSelectedDate System.DateTime
DayCellPadding float
HorizontalPadding int
IsDateAvailable bool>.Func
IsDayMarkedDelegate bool>.Func
LinesCount int
MonthChanged Action
OnDateSelected Action
OnFinishedDateSelection Action
SwipedUp System.Action
VerticalPadding int

Private Properties

Свойство Type Description
CreateNewGrid MonthGridView
DrawDayLabels void
DrawMonthLabel void
LoadInitialGrids void
MonthViewSwipedLeft void
MonthViewSwipedRight void
MonthViewSwipedUp void

Méthodes publiques

Méthode Description
CalendarMonthView ( System.DateTime selectedDate, bool showHeader, float width = 320 ) : System
DeselectDate ( ) : void
Draw ( CGRect rect ) : void
LayoutSubviews ( ) : void
MoveCalendarMonths ( bool right, bool animated ) : void

Change calendar month.

RebuildGrid ( bool right, bool animated ) : void

Rebuild month grid.

SetDate ( System.DateTime newDate ) : void
SetNeedsDisplay ( ) : void

Update calendar month view.

Private Methods

Méthode Description
CreateNewGrid ( System.DateTime date ) : MonthGridView

Create new month grid.

DrawDayLabels ( CGRect rect ) : void

Draw day of week labels.

DrawMonthLabel ( CGRect rect ) : void
LoadInitialGrids ( ) : void
MonthViewSwipedLeft ( UISwipeGestureRecognizer ges ) : void
MonthViewSwipedRight ( UISwipeGestureRecognizer ges ) : void
MonthViewSwipedUp ( UISwipeGestureRecognizer ges ) : void

Method Details

CalendarMonthView() public méthode

public CalendarMonthView ( System.DateTime selectedDate, bool showHeader, float width = 320 ) : System
selectedDate System.DateTime
showHeader bool
width float
Résultat System

DeselectDate() public méthode

public DeselectDate ( ) : void
Résultat void

Draw() public méthode

public Draw ( CGRect rect ) : void
rect CGRect
Résultat void

LayoutSubviews() public méthode

public LayoutSubviews ( ) : void
Résultat void

MoveCalendarMonths() public méthode

Change calendar month.
public MoveCalendarMonths ( bool right, bool animated ) : void
right bool Direction of the transition.
animated bool Animate transition.
Résultat void

RebuildGrid() public méthode

Rebuild month grid.
public RebuildGrid ( bool right, bool animated ) : void
right bool Direction of the transition.
animated bool Animate transition.
Résultat void

SetDate() public méthode

public SetDate ( System.DateTime newDate ) : void
newDate System.DateTime
Résultat void

SetNeedsDisplay() public méthode

Update calendar month view.
public SetNeedsDisplay ( ) : void
Résultat void

Property Details

BoxHeight public_oe property

public int BoxHeight
Résultat int

BoxWidth public_oe property

public int BoxWidth
Résultat int

CurrentMonthYear public_oe property

public DateTime,System CurrentMonthYear
Résultat System.DateTime

CurrentSelectedDate public_oe property

public DateTime,System CurrentSelectedDate
Résultat System.DateTime

DayCellPadding public_oe property

public float DayCellPadding
Résultat float

HorizontalPadding public_oe property

public int HorizontalPadding
Résultat int

IsDateAvailable public_oe property

public Func IsDateAvailable
Résultat bool>.Func

IsDayMarkedDelegate public_oe property

public Func IsDayMarkedDelegate
Résultat bool>.Func

LinesCount public_oe property

public int LinesCount
Résultat int

MonthChanged public_oe property

public Action MonthChanged
Résultat Action

OnDateSelected public_oe property

public Action OnDateSelected
Résultat Action

OnFinishedDateSelection public_oe property

public Action OnFinishedDateSelection
Résultat Action

SwipedUp public_oe property

public Action,System SwipedUp
Résultat System.Action

VerticalPadding public_oe property

public int VerticalPadding
Résultat int