TaskBoardResource
Defines the fluent API for configuring the TaskBoardResource settings.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class TaskBoardResource : JsonObject
Inheritance: objectJsonObjectTaskBoardResource
Inherited Members
Constructors
public TaskBoardResource(string field, ViewContext viewContext, IUrlGenerator urlGenerator)
Initialization for the TaskBoardResource
public TaskBoardResource(ViewContext viewContext, IUrlGenerator urlGenerator)
Properties
The field of the resource data item which contains the resource color.
public string DataColorField { get; set; }
public DataSource DataSource { get; }
public string DataSourceId { get; set; }
The field of the resource data item which represents the resource text.
public string DataTextField { get; set; }
The field of the resource data item which represents the resource value. The resource value is used to link a TaskBoard event with a resource.
public string DataValueField { get; set; }
The field of the TaskBoard event which contains the resource id.
public string Field { get; set; }
If set to true the TaskBoard event can be assigned multiple instances of the resource. The TaskBoard event field specified via the field option will contain an array of resources. By default only one resource instance can be assigned to an event.
public bool? Multiple { get; set; }
The name of the resource used to distinguish resource. If not set the value of the field option is used.
public string Name { get; set; }
The user friendly title of the resource displayed in the TaskBoard edit form. If not set the value of the field option is used.
public string Title { get; set; }
public IUrlGenerator UrlGenerator { get; }
Set to false if the TaskBoard event field specified via the field option contains a resource data item. By default the TaskBoard expects that field to contain a primitive value (string, number) which corresponds to the "value" of the resource (specified via dataValueField).
public bool? ValuePrimitive { get; set; }
ViewContext
ViewContext
public ViewContext ViewContext { get; }
Methods
Serialize current instance to Dictionary
protected override void Serialize(IDictionary<string, object> json)
Overrides: