RuleBase.CustomFormatValidationMessage Event
Occurs when the validation result message is being formatted.
Namespace: DevExpress.Persistent.Validation
Assembly: DevExpress.Persistent.Base.v18.2.dll
Declaration
public static event EventHandler<CustomFormatValidationMessageEventArgs> CustomFormatValidationMessage
Event Data
The CustomFormatValidationMessage event's data class is DevExpress.Persistent.Validation.CustomFormatValidationMessageEventArgs.
Remarks
Handle this event to apply custom formatting to the validation result message. Use the handler’s Object parameter to access an object that is being validated, MessageFormat - to access the error message template and the ResultMessage - to specify the resulting message. Set the handler’s Handled parameter to true to cancel the default formatting.
See Also