C# Class Ext.Net.DayView

Show file Open project: pgodwin/Ext.net Class Usage Examples

Private Properties

Property Type Description
DayView System

Public Methods

Method Description
MoveDays ( int value ) : void

Shifts the view by the passed number of days relative to the currently set date

MoveNext ( ) : void

Updates the view to the next consecutive date(s)

MovePrev ( ) : void

Updates the view to the previous consecutive date(s)

MoveTo ( System.DateTime dt ) : void

Updates the view to contain the passed date

MoveToday ( ) : void

Updates the view to show today

SetStartDate ( System.DateTime dt ) : void

Sets the start date used to calculate the view boundaries to display. The displayed view will be the earliest and latest dates that match the view requirements and contain the date passed to this function.

Private Methods

Method Description
DayView ( ) : System

Method Details

MoveDays() public method

Shifts the view by the passed number of days relative to the currently set date
public MoveDays ( int value ) : void
value int The number of days (positive or negative) by which to shift the view
return void

MoveNext() public method

Updates the view to the next consecutive date(s)
public MoveNext ( ) : void
return void

MovePrev() public method

Updates the view to the previous consecutive date(s)
public MovePrev ( ) : void
return void

MoveTo() public method

Updates the view to contain the passed date
public MoveTo ( System.DateTime dt ) : void
dt System.DateTime The date to display
return void

MoveToday() public method

Updates the view to show today
public MoveToday ( ) : void
return void

SetStartDate() public method

Sets the start date used to calculate the view boundaries to display. The displayed view will be the earliest and latest dates that match the view requirements and contain the date passed to this function.
public SetStartDate ( System.DateTime dt ) : void
dt System.DateTime The date used to calculate the new view boundaries
return void