IViewTableMethodsSetFieldRule Method
Sets a validation rule to the indicated field.
Namespace: Aliquo.WindowsAssembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
void SetFieldRule(
string fieldName,
string error,
Func<bool> rule
)
Sub SetFieldRule (
fieldName As String,
error As String,
rule As Func(Of Boolean)
)
Parameters
- fieldName String
- Field name to set.
- error String
- Error message.
- rule FuncBoolean
- Delegate method or Lambda expression used to check the rule.