Defines the fluent interface for configuring the RecurrenceEditor.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class RecurrenceEditorBuilder : WidgetBuilderBase<RecurrenceEditor, RecurrenceEditorBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<RecurrenceEditor, RecurrenceEditorBuilder>RecurrenceEditorBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the RecurrenceEditorBuilder class.
public RecurrenceEditorBuilder(RecurrenceEditor component)
The component.
Methods
Configures the handled client-side events of the RecurrenceEditor.
public RecurrenceEditorBuilder Events(Action<RecurrenceEditorEventBuilder> clientEventsAction)
The action that configures the available events.
Returns:Returns the current RecurrenceEditorBuilder instance.
Defines the first week day (by index) of the RecurrenceEditor. The default is 0.
public RecurrenceEditorBuilder FirstWeekDay(int firstWeekDay)
The value that configures the first week day.
Returns:Returns the current RecurrenceEditorBuilder instance.
Defines the frequencies of the RecurrenceEditor.
public RecurrenceEditorBuilder Frequency(Action<RecurrenceEditorFrequencyBuilder> addFrequencyAction)
The action that configures the frequencies.
Returns:Returns the current RecurrenceEditorBuilder instance.
Defines the IEnumerable collection of frequencies for the RecurrenceEditor.
public RecurrenceEditorBuilder Frequency(IEnumerable<RecurrenceEditorFrequency> frequencies)
The data collection.
Returns:Returns the current RecurrenceEditorBuilder instance.
Sets the messages of the RecurrenceEditor.
public RecurrenceEditorBuilder Messages(Action<SchedulerMessagesRecurrenceEditorSettingsBuilder<ISchedulerEvent>> addViewAction)
The lambda which configures the messages.
Returns:Returns the current RecurrenceEditorBuilder instance.
Defines the current start of the RecurrenceEditor. Used to determine the start day. The minimum date available in the "Until" DatePicker.
public RecurrenceEditorBuilder Start(DateTime start)
The value that configures the start.
Returns:Returns the current RecurrenceEditorBuilder instance.
Defines the time zone of the RecurrenceEditor.
public RecurrenceEditorBuilder Timezone(string timezone)
The vale that configures the time zone.
Returns:Returns the current RecurrenceEditorBuilder instance.
Defines the value of the RecurrenceEditor. It must be a valid recurrence rule.
public RecurrenceEditorBuilder Value(string value)
The value that configures the recurrence rule.
Returns:Returns the current RecurrenceEditorBuilder instance.