Class PrioritySettingsBuilder
A builder class that holds settings for priority.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class PrioritySettingsBuilder
Constructors
PrioritySettingsBuilder(PrioritySettings)
Initializes a new instance of the PrioritySettingsBuilder class to indicate the options.
Declaration
public PrioritySettingsBuilder(PrioritySettings options)
Parameters
Type | Name | Description |
---|---|---|
PrioritySettings | options | It accepts the PrioritySettings object. |
Methods
Datasource()
It throws the Datasource exception value if occurred any.
Declaration
public object Datasource()
Returns
Type | Description |
---|---|
System.Object |
Datasource(DataSource)
This field stores JSON object collection that contains priority related data.
Declaration
public PrioritySettingsBuilder Datasource(DataSource dataSource)
Parameters
Type | Name | Description |
---|---|---|
DataSource | dataSource | It accepts JSON object collection that contains priority related data. |
Returns
Type | Description |
---|---|
PrioritySettingsBuilder |
Datasource(Action<DataSourceBuilder>)
It stores JSON object collection that contains priority related data.
Declaration
public PrioritySettingsBuilder Datasource(Action<DataSourceBuilder> dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Action<DataSourceBuilder> | dataSource | It accepts JSON object collection that contains priority related data. |
Returns
Type | Description |
---|---|
PrioritySettingsBuilder |
Datasource(IEnumerable)
This field stores JSON object collection that contains priority related data.
Declaration
public PrioritySettingsBuilder Datasource(IEnumerable dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | dataSource | It accepts JSON object collection that contains priority related data. |
Returns
Type | Description |
---|---|
PrioritySettingsBuilder |
Datasource(String)
This field stores the URL of priority related data.
Declaration
public PrioritySettingsBuilder Datasource(string dataURL)
Parameters
Type | Name | Description |
---|---|---|
System.String | dataURL | It accepts the URL of priority related data. |
Returns
Type | Description |
---|---|
PrioritySettingsBuilder |
Enable(Boolean)
This field stores the value which indicates whether to enable the priority options or not.
Declaration
public PrioritySettingsBuilder Enable(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | It accepts the value which indicates whether to enable the priority options or not. |
Returns
Type | Description |
---|---|
PrioritySettingsBuilder |
Query(String)
This field stores the query value for PrioritySettings.
Declaration
public PrioritySettingsBuilder Query(string query)
Parameters
Type | Name | Description |
---|---|---|
System.String | query | It accepts the PrioritySettings query value. |
Returns
Type | Description |
---|---|
PrioritySettingsBuilder |
TableName(String)
This field stores the table name for PrioritySettings table.
Declaration
public PrioritySettingsBuilder TableName(string tableName)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableName | It accepts the name of the table. |
Returns
Type | Description |
---|---|
PrioritySettingsBuilder |
Template(String)
This field stores the template value for the PrioritySettings.
Declaration
public PrioritySettingsBuilder Template(string template)
Parameters
Type | Name | Description |
---|---|---|
System.String | template | It accepts the template value for the PrioritySettings. |
Returns
Type | Description |
---|---|
PrioritySettingsBuilder |
Text(String)
This field stores the text value for the PrioritySettings.
Declaration
public PrioritySettingsBuilder Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | It accepts the text value for the PrioritySettings. |
Returns
Type | Description |
---|---|
PrioritySettingsBuilder |
Title(String)
This field stores the label text value for prioritySettings property.
Declaration
public PrioritySettingsBuilder Title(string title)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | It accepts the label text value for prioritySettings property. |
Returns
Type | Description |
---|---|
PrioritySettingsBuilder |
Value(String)
This field stores the value for the PrioritySettings.
Declaration
public PrioritySettingsBuilder Value(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | It accepts the value for the PrioritySettings. |
Returns
Type | Description |
---|---|
PrioritySettingsBuilder |