Class CategorizeSettingsBuilder
A builder class that holds categorize items.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class CategorizeSettingsBuilder
Constructors
CategorizeSettingsBuilder(CategorizeSettings)
Initializes a new instance of the CategorizeSettingsBuilder class to indicate the options.
Declaration
public CategorizeSettingsBuilder(CategorizeSettings options)
Parameters
Type | Name | Description |
---|---|---|
CategorizeSettings | options | It accepts the categorizeSettings object. |
Methods
AllowMultiple(Boolean)
This field stores the value which indicates whether to allow multiple selection of categories for the appointments or not.
Declaration
public CategorizeSettingsBuilder AllowMultiple(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | It accepts the value which indicates whether to allow multiple selection of categories for the appointments or not. |
Returns
Type | Description |
---|---|
CategorizeSettingsBuilder |
Color(String)
This field stores the color value for categorize data.
Declaration
public CategorizeSettingsBuilder Color(string color)
Parameters
Type | Name | Description |
---|---|---|
System.String | color | It accepts the color value for categorize data. |
Returns
Type | Description |
---|---|
CategorizeSettingsBuilder |
Datasource()
It throws the Datasource exception value if occurred any.
Declaration
public object Datasource()
Returns
Type | Description |
---|---|
System.Object |
Datasource(DataSource)
This field stores DataManager instance that contains the categorize data.
Declaration
public CategorizeSettingsBuilder Datasource(DataSource dataSource)
Parameters
Type | Name | Description |
---|---|---|
DataSource | dataSource | It accepts the value as DataManager instance that contains the categorize data. |
Returns
Type | Description |
---|---|
CategorizeSettingsBuilder |
Datasource(Action<DataSourceBuilder>)
It stores the JSON object collection that contains the categorize data.
Declaration
public CategorizeSettingsBuilder Datasource(Action<DataSourceBuilder> dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Action<DataSourceBuilder> | dataSource | It accepts the value as JSON object collection that contains the categorize data. |
Returns
Type | Description |
---|---|
CategorizeSettingsBuilder |
Datasource(IEnumerable)
This field stores the JSON object collection that contains the categorize data.
Declaration
public CategorizeSettingsBuilder Datasource(IEnumerable dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | dataSource | It accepts the value as JSON object collection that contains the categorize data. |
Returns
Type | Description |
---|---|
CategorizeSettingsBuilder |
Datasource(String)
This field stores the categorize data URL.
Declaration
public CategorizeSettingsBuilder Datasource(string dataURL)
Parameters
Type | Name | Description |
---|---|---|
System.String | dataURL | It accepts the categorize data URL. |
Returns
Type | Description |
---|---|
CategorizeSettingsBuilder |
Enable(Boolean)
This field stores the value which indicates whether to enable the categories option for the appointments or not.
Declaration
public CategorizeSettingsBuilder Enable(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | It accepts the value which indicates whether to enable the categories option for the appointments or not. |
Returns
Type | Description |
---|---|
CategorizeSettingsBuilder |
FontColor(String)
This field stores the font color value for categorize data.
Declaration
public CategorizeSettingsBuilder FontColor(string fontColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | fontColor | It accepts the font color value for categorize data. |
Returns
Type | Description |
---|---|
CategorizeSettingsBuilder |
Id(String)
This field stores the id value for categorize data.
Declaration
public CategorizeSettingsBuilder Id(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | It accepts the id value for categorize data. |
Returns
Type | Description |
---|---|
CategorizeSettingsBuilder |
Query(String)
This field stores the query value for categorize data.
Declaration
public CategorizeSettingsBuilder Query(string query)
Parameters
Type | Name | Description |
---|---|---|
System.String | query | It accepts the query value for categorize data. |
Returns
Type | Description |
---|---|
CategorizeSettingsBuilder |
TableName(String)
This field stores the table name value for categorize data table.
Declaration
public CategorizeSettingsBuilder TableName(string tableName)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableName | It accepts the name of the table. |
Returns
Type | Description |
---|---|
CategorizeSettingsBuilder |
Text(String)
This field stores the text value for categorize data.
Declaration
public CategorizeSettingsBuilder Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | It accepts the text value for categorize data. |
Returns
Type | Description |
---|---|
CategorizeSettingsBuilder |
Title(String)
This field stores the label text for Categorize field
Declaration
public CategorizeSettingsBuilder Title(string title)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | It accepts the Categorize field label text value |
Returns
Type | Description |
---|---|
CategorizeSettingsBuilder |