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


In This Topic
    ValidationTrigger Property (GcNumber)
    In This Topic
    Gets or sets a value that determines the timing of validating GrapeCity.Windows.InputMan.GcNumber.Value property.
    Syntax
    'Declaration
     
    Public Property ValidationTrigger As ValidationTrigger
    'Usage
     
    Dim instance As GcNumber
    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