Enables you to provide a custom error description.
Namespace:DevExpress.Xpf.Editors
Assembly:DevExpress.Xpf.Core.v17.2.dll

Syntax
C# |
public event CalculatorCustomErrorTextEventHandler CustomErrorText
|
VB |
event Public CustomErrorText As CalculatorCustomErrorTextEventHandler
|

Event Data
The event handler receives an argument of type CalculatorCustomErrorTextEventArgs containing data related to this event.
The following
CalculatorCustomErrorTextEventArgs properties provide information specific to this event.
Property |
Description |
ErrorText |
Gets or sets the error description.
|
Handled |
Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. |
OriginalSource |
Gets the original reporting source as determined by pure hit testing, before any possible System.Windows.RoutedEventArgs.Source adjustment by a parent class. |
RoutedEvent |
Gets or sets the System.Windows.RoutedEventArgs.RoutedEvent associated with this System.Windows.RoutedEventArgs instance. |
Source |
Gets or sets a reference to the object that raised the event. |

Remarks
The CustomErrorText event is fired after an error has occurred during calculations (e.g. division by zero). Handle this event to replace the default error text with custom text. To do this, use the CalculatorCustomErrorTextEventArgs.ErrorText property.

See Also