[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.RangeValidator

RangeValidator Class

Represents whether GcDateTime.Value or GcNumber.Value is in the valid Range.

Inheritance
RangeValidator
Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public sealed class RangeValidator : ControlValidator
Public NotInheritable Class RangeValidator
    Inherits ControlValidator
Examples

The following xaml demonstrates how to use ControlValidator to validate control value.

Constructors

Name Description
RangeValidator()

Initializes a new instance of the RangeValidator class.

RangeValidator(object)

Initializes a new instance of the RangeValidator class.

Properties

Name Description
AdjustValueOnFocus

Gets or sets whether the value should be adjusted immediately on property change when control has focus.

ValueProcessAction

Gets or sets how to process the invalid Value.