# C1.Win.FlexGrid.C1FlexGridBase.AllowDragging

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_C1FlexGridBase_AllowDragging_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.AllowDragging*">AllowDragging Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_C1FlexGridBase_AllowDragging_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.AllowDragging*"></a>
<h4 id="C1_Win_FlexGrid_C1FlexGridBase_AllowDragging" data-uid="C1.Win.FlexGrid.C1FlexGridBase.AllowDragging">AllowDragging</h4>
<div class="markdown level1 summary"><p>Gets or sets whether the user is allowed to drag rows and columns 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 AllowDraggingEnum AllowDragging { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property AllowDragging As AllowDraggingEnum</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_C1FlexGridBase_AllowDragging_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Row dragging may not work in bound mode. This is because some data sources
do not allow absolute positioning of rows.</p>
<p>ADO.NET DataTable object in particular do not support this.</p>
<p>Column dragging is supported for any data source, and row dragging is always
supported in unbound mode.</p>
<p>You can prevent specific rows and columns from being dragged by setting 
their <a class="xref" href="C1.Win.FlexGrid.RowCol.AllowDragging.html#C1_Win_FlexGrid_RowCol_AllowDragging">AllowDragging</a> property to false.</p>
</div>
</div>
