# C1.WPF.FlexGrid.C1FlexGrid.IsReadOnly

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_FlexGrid_C1FlexGrid_IsReadOnly_" data-uid="C1.WPF.FlexGrid.C1FlexGrid.IsReadOnly*">IsReadOnly Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_FlexGrid_C1FlexGrid_IsReadOnly_" data-uid="C1.WPF.FlexGrid.C1FlexGrid.IsReadOnly*"></a>
<h4 id="C1_WPF_FlexGrid_C1FlexGrid_IsReadOnly" data-uid="C1.WPF.FlexGrid.C1FlexGrid.IsReadOnly">IsReadOnly</h4>
<div class="markdown level1 summary"><p>Gets or sets a value that indicates whether the user can edit values
in the grid.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool IsReadOnly { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property IsReadOnly As Boolean</code></pre>
</div>
<h5 id="C1_WPF_FlexGrid_C1FlexGrid_IsReadOnly_remarks">Remarks</h5>
<div class="markdown level1 remarks"><pre><code>&lt;p&gt;Editing in the &lt;xref href=&quot;C1.WPF.FlexGrid.C1FlexGrid&quot; data-throw-if-not-resolved=&quot;false&quot;&gt;&lt;/xref&gt; is similar to editing in Excel.&lt;/p&gt;
&lt;p&gt;Pressing F2 or double-clicking a cell puts the grid into full-edit mode. 
</code></pre>
<p>In this mode, the cell editor remains active until the user presses Enter,
Tab, or Escape, or until he moves the selection with the mouse. In full-edit
mode, pressing the cursor keys does not cause the grid to exit edit mode.</p>
<p>Typing text directly into a cell puts the grid in quick-edit mode.
The cell editor remains active until the user presses Enter, Tab, or Escape,
or any arrow keys. In quick-edit mode, pressing the cursor keys causes the grid to
exit edit mode.</p>
<p>While editing, the user can toggle between full and quick modes by pressing
the F2 key.</p>
</div>
</div>
