Class ColumnConstraintsBuilder
Represents a class for ColumnContraintsBuilder which includes min, max, and type properties of Kanban column.
Inheritance
System.Object
ColumnConstraintsBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class ColumnConstraintsBuilder
Constructors
ColumnConstraintsBuilder(ColumnConstraints)
Initializes a new instance of the ColumnConstraintsBuilder class.
Declaration
public ColumnConstraintsBuilder(ColumnConstraints constraints)
Parameters
Type | Name | Description |
---|---|---|
ColumnConstraints | constraints | The constraints |
Methods
Max(Int32)
It is used to specify the maximum amount of card in particular column or swimlane cell can hold.
Declaration
public ColumnConstraintsBuilder Max(int max)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | max | It displays the column based max constraint validation |
Returns
Type | Description |
---|---|
ColumnConstraintsBuilder | ColumnConstraintsBuilder |
Min(Int32)
It is used to specify the minimum amount of card in particular column or swimlane cell can hold.
Declaration
public ColumnConstraintsBuilder Min(int min)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | min | It displays the column based min constraint validation |
Returns
Type | Description |
---|---|
ColumnConstraintsBuilder | ColumnConstraintsBuilder |
Type(KanbanType)
It is used to specify the constraint type based on column or swimlane.
Declaration
public ColumnConstraintsBuilder Type(KanbanType type)
Parameters
Type | Name | Description |
---|---|---|
KanbanType | type | It accepts type of constraint |
Returns
Type | Description |
---|---|
ColumnConstraintsBuilder | ColumnConstraintsBuilder |