C# Класс Engage.Dnn.Events.Controls.RecurrenceEditor

Displays the possible types of recurrence available when editing an event.
Наследование: ModuleBase
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
FillDropDowns void
FillListControl void
GetRange RecurrenceRange
GetRecurrenceRule RecurrenceRule
InitializeRecurrenceFrequency void
LocalizeControl void
Page_Load void
RepeatFrequency_CheckedChanged void
SetRecurrenceFrequency void
SetRecurrencePattern void
SetRecurrenceRange void
SetRecurrenceRule void
SetupDailyRecurrence void
SetupMonthlyRecurrence void
SetupWeeklyRecurrence void
SetupYearlyRecurrence void

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

Метод Описание
GetDayMaskItems ( string resourceFile ) : System.Web.UI.WebControls.ListItem[]

Gets the list of possible day selections, from RecurrenceDay.

GetMonthItems ( ) : System.Web.UI.WebControls.ListItem[]

Gets the list of possible months selections, from RecurrenceMonth.

GetOrdinalItems ( string resourceFile ) : System.Web.UI.WebControls.ListItem[]

Gets the list of possible ordinal selections, for example, First, Second or Last. Based on RecurrencePattern.DayOrdinal.

Защищенные методы

Метод Описание
OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

Приватные методы

Метод Описание
FillDropDowns ( ) : void

Fills the drop downs on this control.

FillListControl ( ListControl listControl, System.Web.UI.WebControls.ListItem listItems ) : void

Fills a list with ListItems and localizes the list.

GetRange ( System.DateTime startDate, System.DateTime endDate ) : RecurrenceRange

Gets the recurrence range for this control.

GetRecurrenceRule ( System.DateTime startDate, System.DateTime endDate ) : RecurrenceRule

Gets the recurrence rule for this control instance.

InitializeRecurrenceFrequency ( ) : void

Clears the selection state of the recurrence frequency RadioButtons, so that it can be accurately reset.

LocalizeControl ( ) : void

Localizes this control's components that can't be localized easily in the markup. Specifically, the weekday checkboxes for weekly recurrence are localized.

Page_Load ( object sender, EventArgs e ) : void

Handles the Load event of the Page control.

RepeatFrequency_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the any of the RepeatFrequency controls.

SetRecurrenceFrequency ( ) : void

Sets the active control based on the current recurrence frequency.

SetRecurrencePattern ( RecurrencePattern pattern ) : void

Sets the pattern.

SetRecurrenceRange ( RecurrenceRange range ) : void

Sets the range.

SetRecurrenceRule ( RecurrenceRule rule ) : void

Sets the recurrence rule for this control instance.

SetupDailyRecurrence ( RecurrencePattern pattern ) : void

Sets up the controls in RecurrencePatternDailyView.

SetupMonthlyRecurrence ( RecurrencePattern pattern ) : void

Sets up the controls in RecurrencePatternMonthlyView.

SetupWeeklyRecurrence ( RecurrencePattern pattern ) : void

Sets up the controls in RecurrencePatternWeeklyView.

SetupYearlyRecurrence ( RecurrencePattern pattern ) : void

Sets up the controls in RecurrencePatternYearlyView.

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

GetDayMaskItems() публичный статический Метод

Gets the list of possible day selections, from RecurrenceDay.
public static GetDayMaskItems ( string resourceFile ) : System.Web.UI.WebControls.ListItem[]
resourceFile string The resource file to use to find get localized text.
Результат System.Web.UI.WebControls.ListItem[]

GetMonthItems() публичный статический Метод

Gets the list of possible months selections, from RecurrenceMonth.
public static GetMonthItems ( ) : System.Web.UI.WebControls.ListItem[]
Результат System.Web.UI.WebControls.ListItem[]

GetOrdinalItems() публичный статический Метод

Gets the list of possible ordinal selections, for example, First, Second or Last. Based on RecurrencePattern.DayOrdinal.
public static GetOrdinalItems ( string resourceFile ) : System.Web.UI.WebControls.ListItem[]
resourceFile string The resource file to use to find get localized text.
Результат System.Web.UI.WebControls.ListItem[]

OnInit() защищенный Метод

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void