Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / InputTextValidator Class
Members Example


In This Topic
    InputTextValidator Class
    In This Topic
    Represents whether it is valid when GcDateTime.Value is a null reference (Nothing in Visual Basic).
    Object Model
    InputTextValidator Class
    Syntax
    'Declaration
     
    Public NotInheritable Class InputTextValidator 
       Inherits ControlValidator
    'Usage
     
    Dim instance As InputTextValidator
    public sealed class InputTextValidator : ControlValidator 
    Remarks
    It only supports GcDateTime control. If doesn't input anything, GcDateTime.Value is always valid. If input something and GcDateTime.Value is a null reference (Nothing in Visual Basic), the result is invalid.
    Example
    The following xaml demonstrates how to use ControlValidator to validate control value.
    Inheritance Hierarchy

    System.Object
       GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlValidator
          GrapeCity.Wpf.SpreadSheet.CellType.Editors.InputTextValidator

    See Also