Formatting the value programmatically.
The event handler receives an argument of type FormatEventArgs containing data related to this event. The following FormatEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| ErrorMessage | The out parameter for specifying error description if Succeeded is set to False. |
| FormatInfo | FormatInfo object that fired the event. |
| Succeeded | Formatting result (assigned in the event code in Formatting). Default: True |
| Target | Formatting target (ForEdit or ForDisplay). |
| Text | The out parameter for the resulting string (in Formatting), or the in parameter for the formatted string (in Formatted). |
| Value | Source value for formatting. |