C# Класс Ext.Net.CalendarView

Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

HighlightEvent() публичный Метод

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.
Результат void

MoveDays() публичный Метод

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
Результат void

MoveMonths() публичный Метод

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
Результат void

MoveNext() публичный Метод

Updates the view to the next consecutive date(s)
public MoveNext ( ) : void
Результат void

MovePrev() публичный Метод

Updates the view to the previous consecutive date(s)
public MovePrev ( ) : void
Результат void

MoveTo() публичный Метод

Updates the view to contain the passed date
public MoveTo ( System.DateTime dt ) : void
dt System.DateTime The date to display
Результат void

MoveToday() публичный Метод

Updates the view to show today
public MoveToday ( ) : void
Результат void

MoveWeeks() публичный Метод

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
Результат void

SetStartDate() публичный Метод

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
Результат void