C# Class escoz.CalendarMonthView

Inheritance: UIView
Afficher le fichier Open project: rid00z/Xamarin.Forms.Calendar Class Usage Examples

Méthodes publiques

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

Méthodes publiques

Méthode Description
CalendarMonthView ( System.DateTime selectedDate, bool showHeader, float width = 320 ) : System
DeselectDate ( ) : void
Draw ( RectangleF rect ) : void
LayoutSubviews ( ) : void
MoveCalendarMonths ( bool right, bool animated ) : void
RebuildGrid ( bool right, bool animated ) : void
SetDate ( System.DateTime newDate ) : void
SetNeedsDisplay ( ) : void
p_monthViewSwipedLeft ( UISwipeGestureRecognizer ges ) : void
p_monthViewSwipedRight ( UISwipeGestureRecognizer ges ) : void
p_monthViewSwipedUp ( UISwipeGestureRecognizer ges ) : void

Private Methods

Méthode 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
LoadInitialGrids ( ) : 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 ( RectangleF rect ) : void
rect System.Drawing.RectangleF
Résultat void

LayoutSubviews() public méthode

public LayoutSubviews ( ) : void
Résultat void

MoveCalendarMonths() public méthode

public MoveCalendarMonths ( bool right, bool animated ) : void
right bool
animated bool
Résultat void

RebuildGrid() public méthode

public RebuildGrid ( bool right, bool animated ) : void
right bool
animated bool
Résultat void

SetDate() public méthode

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

SetNeedsDisplay() public méthode

public SetNeedsDisplay ( ) : void
Résultat void

p_monthViewSwipedLeft() public méthode

public p_monthViewSwipedLeft ( UISwipeGestureRecognizer ges ) : void
ges UISwipeGestureRecognizer
Résultat void

p_monthViewSwipedRight() public méthode

public p_monthViewSwipedRight ( UISwipeGestureRecognizer ges ) : void
ges UISwipeGestureRecognizer
Résultat void

p_monthViewSwipedUp() public méthode

public p_monthViewSwipedUp ( UISwipeGestureRecognizer ges ) : void
ges UISwipeGestureRecognizer
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

IsDateAvailable public_oe property

public Func IsDateAvailable
Résultat bool>.Func

IsDayMarkedDelegate public_oe property

public Func IsDayMarkedDelegate
Résultat bool>.Func

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