TaskBoardResourceBuilder
Methods
Field(System.Linq.Expressions.Expression)
The field of the TaskBoard event which contains the resource id.
Parameters
expression - System.Linq.Expressions.Expression<Func>
The expression that specifies the field, based on the bound model.
Field(System.String)
The field of the TaskBoard event which contains the resource id.
Parameters
value - System.String
The value that configures the field.
DataSource(System.Action)
Parameters
configurator - System.Action<DataSourceBuilder>
DataSource(System.String)
Parameters
dataSourceId - System.String
BindTo(System.Collections.IEnumerable)
Parameters
data - System.Collections.IEnumerable
DataColorField(System.String)
The field of the resource data item which contains the resource color.
Parameters
value - System.String
The value that configures the datacolorfield.
DataTextField(System.String)
The field of the resource data item which represents the resource text.
Parameters
value - System.String
The value that configures the datatextfield.
DataValueField(System.String)
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.
Parameters
value - System.String
The value that configures the datavaluefield.
Multiple(System.Boolean)
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.
Parameters
value - System.Boolean
The value that configures the multiple.
Name(System.String)
The name of the resource used to distinguish resource. If not set the value of the field option is used.
Parameters
value - System.String
The value that configures the name.
Title(System.String)
The user friendly title of the resource displayed in the TaskBoard edit form. If not set the value of the field option is used.
Parameters
value - System.String
The value that configures the title.
ValuePrimitive(System.Boolean)
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).
Parameters
value - System.Boolean
The value that configures the valueprimitive.