Class AutocompleteValidationRuleBuilder
Used as lambda expression to set values for validation rules property of Autocomplete HtmlHelper property.
Inheritance
System.Object
AutocompleteValidationRuleBuilder
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 AutocompleteValidationRuleBuilder
Constructors
AutocompleteValidationRuleBuilder(Autocomplete)
Declaration
public AutocompleteValidationRuleBuilder(Autocomplete autocomplete)
Parameters
Type | Name | Description |
---|---|---|
Autocomplete | autocomplete |
Methods
AddRule(String, Object)
Add jquery validation rule to the Autocomplete element
Declaration
public AutocompleteValidationRuleBuilder AddRule(string key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Object | value |
Returns
Type | Description |
---|---|
AutocompleteValidationRuleBuilder |