Validates that a value is greater than/equal to a minimum and/or less than/equal to a maximum.
Supported Data Types
int, double
Scripted Extension Configuration XML
<propertyRule name="minmax" min="" max="" />
Plugin Configuration C#
property.Rules.Add(new PropertyRule { Name = "minmax", Options = new NameValueCollection { { "min", "" }, { "max", "" } } };
Options
Name | Description | Default | Options |
---|---|---|---|
min | Minimum value allowed. | ||
max | Maximum value |