Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcDateTime Class / ValidationTrigger Property
Example


In This Topic
    ValidationTrigger Property (GcDateTime)
    In This Topic
    Gets or sets a value that determines the timing of validating GrapeCity.Windows.InputMan.GcDateTime.Value property.
    Syntax
    'Declaration
     
    Public Property ValidationTrigger As ValidationTrigger
    'Usage
     
    Dim instance As GcDateTime
    Dim value As ValidationTrigger
     
    instance.ValidationTrigger = value
     
    value = instance.ValidationTrigger
    public ValidationTrigger ValidationTrigger {get; set;}

    Property Value

    One of the GrapeCity.Windows.InputMan.ValidationTrigger values. The default is GrapeCity.Windows.InputMan.ValidationTrigger.LostFocus.
    Example
    The following xaml demonstrates how to use ControlValidator to validate control value.
    See Also