FlexGrid for WinForms
AllowNull Property

Gets or sets that cells in the Column will accept null value or null will be replaced by default value in unbound mode.
Public Property AllowNull As Boolean
Dim instance As Column
Dim value As Boolean
instance.AllowNull = value
value = instance.AllowNull
public bool AllowNull {get; set;}
property bool AllowNull {
   bool get();
   void set (    bool value);
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.

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


Column Class
Column Members



Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback