Class KanbanValidationRuleBuilder
Represents a class for KanbanValidationRuleBuilder which includes add rule properties of Kanban edit items.
Inheritance
System.Object
KanbanValidationRuleBuilder
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 KanbanValidationRuleBuilder
Constructors
KanbanValidationRuleBuilder(KanbanEditItem)
Initializes a new instance of the KanbanValidationRuleBuilder class.
Declaration
public KanbanValidationRuleBuilder(KanbanEditItem editItem)
Parameters
Type | Name | Description |
---|---|---|
KanbanEditItem | editItem | It displays the KanbanEditItem option |
Methods
AddRule(String, Object)
Add the rules or constraints before saving the data to the database.
Declaration
public KanbanValidationRuleBuilder AddRule(string key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | It accepts the string as key |
System.Object | value | It passes the object value to define the constraints for saving the data |
Returns
Type | Description |
---|---|
KanbanValidationRuleBuilder | KanbanValidationRuleBuilder |