Class RecurrenceEditorBuilder
Inheritance
System.Object
RecurrenceEditorBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class RecurrenceEditorBuilder : ControlBuilder
Constructors
RecurrenceEditorBuilder()
Declaration
public RecurrenceEditorBuilder()
RecurrenceEditorBuilder(RecurrenceEditor)
Declaration
public RecurrenceEditorBuilder(RecurrenceEditor model)
Parameters
Fields
model
Declaration
public RecurrenceEditor model
Field Value
Properties
HtmlAttr
Declaration
public IDictionary<string, object> HtmlAttr { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
|
ID
Declaration
public string ID { get; set; }
Property Value
Type |
Description |
System.String |
|
Output
Declaration
public override TextWriter Output { get; set; }
Property Value
Type |
Description |
System.IO.TextWriter |
|
Overrides
Methods
CalendarMode(CalendarType)
Sets the specific calendar type to be applied on recurrence editor.
Declaration
public RecurrenceEditorBuilder CalendarMode(CalendarType calendarMode)
Parameters
Returns
Change(String)
Triggers for value changes on every sub-controls rendered within the recurrence editor.
Declaration
public RecurrenceEditorBuilder Change(string change)
Parameters
Type |
Name |
Description |
System.String |
change |
|
Returns
CssClass(String)
Allows styling with custom class names.
Declaration
public RecurrenceEditorBuilder CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
|
Returns
Sets the user specific date format on recurrence editor.
Declaration
public RecurrenceEditorBuilder DateFormat(string dateFormat)
Parameters
Type |
Name |
Description |
System.String |
dateFormat |
|
Returns
EnablePersistence(Boolean)
Enable or disable persisting component's state between page reloads.
Declaration
public RecurrenceEditorBuilder EnablePersistence(bool enablePersistence = true)
Parameters
Type |
Name |
Description |
System.Boolean |
enablePersistence |
|
Returns
EnableRtl(Boolean)
Enable or disable rendering component in right to left direction.
Declaration
public RecurrenceEditorBuilder EnableRtl(bool enableRtl = true)
Parameters
Type |
Name |
Description |
System.Boolean |
enableRtl |
|
Returns
EndTypes(Object)
Sets the type of recurrence end for the recurrence pattern on the editor.
Declaration
public RecurrenceEditorBuilder EndTypes(object endTypes)
Parameters
Type |
Name |
Description |
System.Object |
endTypes |
|
Returns
FirstDayOfWeek(Double)
Sets the first day of the week.
Declaration
public RecurrenceEditorBuilder FirstDayOfWeek(double firstDayOfWeek)
Parameters
Type |
Name |
Description |
System.Double |
firstDayOfWeek |
|
Returns
Frequencies(Object)
Sets the recurrence pattern on the editor.
Declaration
public RecurrenceEditorBuilder Frequencies(object frequencies)
Parameters
Type |
Name |
Description |
System.Object |
frequencies |
|
Returns
HtmlAttributes(Object)
Allows additional HTML attributes such as title, name, etc., and
accepts n number of attributes in a key-value pair format.
Declaration
public RecurrenceEditorBuilder HtmlAttributes(object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Object |
htmlAttributes |
|
Returns
Locale(String)
Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
Declaration
public RecurrenceEditorBuilder Locale(string locale)
Parameters
Type |
Name |
Description |
System.String |
locale |
|
Returns
MaxDate(Object)
Sets the maximum date on recurrence editor.
Declaration
public RecurrenceEditorBuilder MaxDate(object maxDate)
Parameters
Type |
Name |
Description |
System.Object |
maxDate |
|
Returns
MinDate(Object)
Sets the minimum date on recurrence editor.
Declaration
public RecurrenceEditorBuilder MinDate(object minDate)
Parameters
Type |
Name |
Description |
System.Object |
minDate |
|
Returns
Render()
Declaration
public HtmlString Render()
Returns
Type |
Description |
Microsoft.AspNetCore.Html.HtmlString |
|
SelectedType(Int32)
Sets the current repeat type to be set on the recurrence editor.
Declaration
public RecurrenceEditorBuilder SelectedType(int selectedType)
Parameters
Type |
Name |
Description |
System.Int32 |
selectedType |
|
Returns
StartDate(Object)
Sets the start date on recurrence editor.
Declaration
public RecurrenceEditorBuilder StartDate(object startDate)
Parameters
Type |
Name |
Description |
System.Object |
startDate |
|
Returns
Value(String)
Sets the recurrence rule as its output values.
Declaration
public RecurrenceEditorBuilder Value(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns