# C1.Win.FlexGrid.Column.AllowNull

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_Column_AllowNull_" data-uid="C1.Win.FlexGrid.Column.AllowNull*">AllowNull Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_Column_AllowNull_" data-uid="C1.Win.FlexGrid.Column.AllowNull*"></a>
<h4 id="C1_Win_FlexGrid_Column_AllowNull" data-uid="C1.Win.FlexGrid.Column.AllowNull">AllowNull</h4>
<div class="markdown level1 summary"><p>Gets or sets that cells in the <a class="xref" href="C1.Win.FlexGrid.Column.html">Column</a> will accept null value or null will be replaced by default value in unbound mode.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool AllowNull { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property AllowNull As Boolean</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_Column_AllowNull_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property works only if <b>IsValueType</b> member of <a class="xref" href="C1.Win.FlexGrid.RowCol.DataType.html#C1_Win_FlexGrid_RowCol_DataType">DataType</a> property
equals to True and for type <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>.
If value was changed to False then all null values in the <a class="xref" href="C1.Win.FlexGrid.Column.html">Column</a> will be
replaced by defaults of current <a class="xref" href="C1.Win.FlexGrid.RowCol.DataType.html#C1_Win_FlexGrid_RowCol_DataType">DataType</a>.</p>
</div>
</div>
