Xceed Grid for WinForms v4.3 Documentation
Special String Substitutions For Validation Error Messages
Welcome to Xceed Grid for WinForms v4.3 > Basic Concepts > Input Validator control > Setting Up Validation Expressions Visually > Defining Error Messages > Special String Substitutions For Validation Error Messages

In the "Default Validation Error Messages for ValidationProvider" and the "Customize Validation Error Messages for Criterion" dialogs, the following special strings are used as variables in the validation error messages. 

If you fail to use the special string substitutions, your message may be incomplete.

 

Variable Description Used Only for Types
%datatype% type of data DataTypeCriterion type (including derived types ConstantListCriterion, ConstantValueCriterion, InputCellValueCriterion, InputvalueCriterion, and RangeCriterion)
%name% criterion name All ValidationCriterion types
%operator% criterion operator CompareListOperator and CompareValueOperator
%value% criterion value(s) ConstantValueCriterion, InputValueCriterion, and ConstantListCriterion types
(Note: When more than one value is in context, values are comma delimited)
%min% lower limit of range (inclusive) RangeCriterion
%max% upper limit of range (inclusive) RangeCriterion

See Also

Setting Up Default Error Messages | Customizing Error Messages