Class CardSettingsBuilder
Represents a class for CardSettingsBuilder which includes template, external drop target, and color mapping.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class CardSettingsBuilder
Constructors
CardSettingsBuilder()
Initializes a new instance of the CardSettingsBuilder class.
Declaration
public CardSettingsBuilder()
CardSettingsBuilder(CardSettings)
Initializes a new instance of the CardSettingsBuilder class.
Declaration
public CardSettingsBuilder(CardSettings cardSettings)
Parameters
Type | Name | Description |
---|---|---|
CardSettings | cardSettings | It accepts the data of cardSettings |
Methods
ColorMapping(Action<ColorMappingBuilder>)
Gets or sets a value that indicates color mapping for specific values of database field mapped in "CardFields.Color".
Declaration
public CardSettingsBuilder ColorMapping(Action<ColorMappingBuilder> colorMapping)
Parameters
Type | Name | Description |
---|---|---|
System.Action<ColorMappingBuilder> | colorMapping | The colorMapping |
Returns
Type | Description |
---|---|
CardSettingsBuilder |
ColorMapping(Dictionary<String, Object>)
To customize the card border color based on assigned task. Colors and corresponding values defined here will be mapped with colorField mapped data source column.
Declaration
public CardSettingsBuilder ColorMapping(Dictionary<string, object> colorMapping)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> | colorMapping | The ColorMapping values for corresponding key values |
Returns
Type | Description |
---|---|
CardSettingsBuilder |
ExternalDropTarget(String)
Gets or sets a value that indicates where the card is dropped.
Declaration
public CardSettingsBuilder ExternalDropTarget(string externalDropTarget)
Parameters
Type | Name | Description |
---|---|---|
System.String | externalDropTarget | The externalDropTarget as string |
Returns
Type | Description |
---|---|
CardSettingsBuilder |
Template(String)
Gets or sets a value that indicates to add the specific template for all cards.
Declaration
public CardSettingsBuilder Template(string template)
Parameters
Type | Name | Description |
---|---|---|
System.String | template | The template id as string |
Returns
Type | Description |
---|---|
CardSettingsBuilder |