[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDropDownCalculator.HasError

HasError Property

HasError

Gets a value indicating whether this instance of GcDropDownCalculator has an error. This is a dependency property.

Declaration
public bool HasError { get; }
Public ReadOnly Property HasError As Boolean
Property Value
Type Description
bool

true if this instance of GcDropDownCalculator has error; otherwise, false.

Remarks

When HasError is true, the GcDropDownCalculator will be in the following error states:

  • Divide By Zero

    A number is divided by zero. Occurs when dividing a number by zero, or calling Reciprocal to zero.

    The DisplayText is "Attempted to divide by zero".

  • Invalid Input

    The parameter of a operator is invalid. Occurs when calling SquareRoot to a negative number.

    The DisplayText is "Invalid input for function.".

  • Overflow

    The value is overflow. Occurs when result is out of the range of double.

    The DisplayText is "Arithmetic operation resulted in an overflow.".