# C1.Win.FlexGrid.RowCol.AllowResizing

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_RowCol_AllowResizing_" data-uid="C1.Win.FlexGrid.RowCol.AllowResizing*">AllowResizing Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_RowCol_AllowResizing_" data-uid="C1.Win.FlexGrid.RowCol.AllowResizing*"></a>
<h4 id="C1_Win_FlexGrid_RowCol_AllowResizing" data-uid="C1.Win.FlexGrid.RowCol.AllowResizing">AllowResizing</h4>
<div class="markdown level1 summary"><p>Gets or sets whether the user can resize this row or column with the mouse.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual bool AllowResizing { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Property AllowResizing As Boolean</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_RowCol_AllowResizing_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>To resize rows or columns, the mouse must be over the fixed area of the grid, and close to a border 
between rows or columns. The mouse pointer will then change into a sizing pointer and the user can drag 
the row or column to change the row height or column width.</p>
<p>If a group of columns is selected (from first to last row) and the user resizes one of them, all 
selected columns are resized. The same applies to rows.</p>
<p>If column sizing is allowed, users may double-click the resizing area to resize a column so it will 
automatically fit the longest entry.</p>
<p>Rows with zero height and columns with zero width can't be resized by the user. If you want to make 
them very small but still resizable, set their height or width to one pixel, not to zero.</p>
<p>The <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.BeforeResizeRow.html">BeforeResizeRow</a> and <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.BeforeResizeColumn.html">BeforeResizeColumn</a> 
events fire before resizing starts, and may be used to prevent resizing of specific rows and columns. 
The <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.AfterResizeRow.html">AfterResizeRow</a> and <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.AfterResizeColumn.html">AfterResizeColumn</a> 
fire after resizing, and may be used to validate the user's action and to update the display.</p>
</div>
</div>
