# C1.Win.FlexGrid.C1FlexGridBase.AutoClipboard

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_C1FlexGridBase_AutoClipboard_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.AutoClipboard*">AutoClipboard Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_C1FlexGridBase_AutoClipboard_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.AutoClipboard*"></a>
<h4 id="C1_Win_FlexGrid_C1FlexGridBase_AutoClipboard" data-uid="C1.Win.FlexGrid.C1FlexGridBase.AutoClipboard">AutoClipboard</h4>
<div class="markdown level1 summary"><p>Gets or sets whether the grid should handle the clipboard keys and automatically
perform cut, copy, paste, and delete operations.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool AutoClipboard { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property AutoClipboard As Boolean</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_C1FlexGridBase_AutoClipboard_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Setting this property to true causes the grid to monitor the keyboard for the
following clipboard keys:</p>
<p>Copy:	CTRL-INS, CTRL-C</p>
<p>Cut:	CTRL-X, SHIFT-DEL</p>
<p>Paste:	CTRL-V, SHIFT-INS</p>
<p>Delete:	DEL</p>
<p>Cut, paste, and delete actions are performed only if the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.AllowEditing.html#C1_Win_FlexGrid_C1FlexGridBase_AllowEditing">AllowEditing</a> 
property is set to true.</p>
<p>If you want to handle only a subset of the supported keys, add a handler to the 
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control.keydown">KeyDown</a> event and set the Handled parameter to true to disable some of the keys.</p>
<p>Automatic clipboard operations only affect the grid data. Styles and images are 
not copied, pasted, or deleted.</p>
<p>Values copied to the clipboard are affected by the setting of the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.ClipboardCopyMode.html#C1_Win_FlexGrid_C1FlexGridBase_ClipboardCopyMode">ClipboardCopyMode</a> 
property.</p>
</div>
</div>
