C# Class Ext.Net.CalendarView

Afficher le fichier Open project: pgodwin/Ext.net

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

MoveDays() public méthode

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
Résultat void

MoveMonths() public méthode

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
Résultat void

MoveNext() public méthode

Updates the view to the next consecutive date(s)
public MoveNext ( ) : void
Résultat void

MovePrev() public méthode

Updates the view to the previous consecutive date(s)
public MovePrev ( ) : void
Résultat void

MoveTo() public méthode

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

MoveToday() public méthode

Updates the view to show today
public MoveToday ( ) : void
Résultat void

MoveWeeks() public méthode

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
Résultat void

SetStartDate() public méthode

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
Résultat void