C# 클래스 TodoApp.iOS.Controls.CalendarMonthView

상속: UIView
파일 보기 프로젝트 열기: strongloop/loopback-example-xamarin 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

프로퍼티 타입 설명
CreateNewGrid MonthGridView
DrawDayLabels void
DrawMonthLabel void
LoadInitialGrids void
MonthViewSwipedLeft void
MonthViewSwipedRight void
MonthViewSwipedUp void

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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

메소드 상세

CalendarMonthView() 공개 메소드

public CalendarMonthView ( System.DateTime selectedDate, bool showHeader, float width = 320 ) : System
selectedDate System.DateTime
showHeader bool
width float
리턴 System

DeselectDate() 공개 메소드

public DeselectDate ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( CGRect rect ) : void
rect CGRect
리턴 void

LayoutSubviews() 공개 메소드

public LayoutSubviews ( ) : void
리턴 void

MoveCalendarMonths() 공개 메소드

Change calendar month.
public MoveCalendarMonths ( bool right, bool animated ) : void
right bool Direction of the transition.
animated bool Animate transition.
리턴 void

RebuildGrid() 공개 메소드

Rebuild month grid.
public RebuildGrid ( bool right, bool animated ) : void
right bool Direction of the transition.
animated bool Animate transition.
리턴 void

SetDate() 공개 메소드

public SetDate ( System.DateTime newDate ) : void
newDate System.DateTime
리턴 void

SetNeedsDisplay() 공개 메소드

Update calendar month view.
public SetNeedsDisplay ( ) : void
리턴 void

프로퍼티 상세

BoxHeight 공개적으로 프로퍼티

public int BoxHeight
리턴 int

BoxWidth 공개적으로 프로퍼티

public int BoxWidth
리턴 int

CurrentMonthYear 공개적으로 프로퍼티

public DateTime,System CurrentMonthYear
리턴 System.DateTime

CurrentSelectedDate 공개적으로 프로퍼티

public DateTime,System CurrentSelectedDate
리턴 System.DateTime

DayCellPadding 공개적으로 프로퍼티

public float DayCellPadding
리턴 float

HorizontalPadding 공개적으로 프로퍼티

public int HorizontalPadding
리턴 int

IsDateAvailable 공개적으로 프로퍼티

public Func IsDateAvailable
리턴 bool>.Func

IsDayMarkedDelegate 공개적으로 프로퍼티

public Func IsDayMarkedDelegate
리턴 bool>.Func

LinesCount 공개적으로 프로퍼티

public int LinesCount
리턴 int

MonthChanged 공개적으로 프로퍼티

public Action MonthChanged
리턴 Action

OnDateSelected 공개적으로 프로퍼티

public Action OnDateSelected
리턴 Action

OnFinishedDateSelection 공개적으로 프로퍼티

public Action OnFinishedDateSelection
리턴 Action

SwipedUp 공개적으로 프로퍼티

public Action,System SwipedUp
리턴 System.Action

VerticalPadding 공개적으로 프로퍼티

public int VerticalPadding
리턴 int