FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / Column Class / AllowNull Property

In This Topic
    AllowNull Property (Column)
    In This Topic
    Gets or sets that cells in the Column will accept null value or null will be replaced by default value in unbound mode.
    Syntax
    'Declaration
     
    
    Public Property AllowNull As Boolean
    public bool AllowNull {get; set;}
    Remarks
    This property works only if IsValueType member of RowCol.DataType property equals to True and for type System.String. If value was changed to False then all null values in the Column will be replaced by defaults of current RowCol.DataType.
    See Also