C# Class Ext.Net.CalendarView

Mostra file Open project: pgodwin/Ext.net

Private Properties

Property Type Description

Public Methods

Method Description
HighlightEvent ( Ext.Net.Element el, string color, HighlightConfig o ) : void

Visually highlights an event using Ext.Fx.highlight config options. If highlightEventActions is false this method will have no effect.

MoveDays ( int value ) : void

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

MoveMonths ( int value ) : void

Shifts the view by the passed number of months 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

MoveWeeks ( int value ) : void

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

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.

Method Details

HighlightEvent() public method

Visually highlights an event using Ext.Fx.highlight config options. If highlightEventActions is false this method will have no effect.
public HighlightEvent ( Ext.Net.Element el, string color, HighlightConfig o ) : void
el Ext.Net.Element The element(s) to highlight
color string (optional) The highlight color. Should be a 6 char hex color without the leading # (defaults to yellow: 'ffff9c')
o HighlightConfig (optional) Object literal with any of the Ext.Fx config options. See Ext.Fx.highlight for usage examples.
return void

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

MoveMonths() public method

Shifts the view by the passed number of months relative to the currently set date
public MoveMonths ( int value ) : void
value int The number of months (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

MoveWeeks() public method

Shifts the view by the passed number of weeks relative to the currently set date
public MoveWeeks ( int value ) : void
value int The number of weeks (positive or negative) by which to shift the view
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