# C1.LiveLinq.LiveViews.ViewRow.CancelEdit

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_LiveLinq_LiveViews_ViewRow_CancelEdit_" data-uid="C1.LiveLinq.LiveViews.ViewRow.CancelEdit*">CancelEdit Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_LiveLinq_LiveViews_ViewRow_CancelEdit_" data-uid="C1.LiveLinq.LiveViews.ViewRow.CancelEdit*"></a>
<h4 id="C1_LiveLinq_LiveViews_ViewRow_CancelEdit" data-uid="C1.LiveLinq.LiveViews.ViewRow.CancelEdit">CancelEdit()</h4>
<div class="markdown level1 summary"><p>Cancels the edit occurring on the row.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void CancelEdit()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub CancelEdit()</code></pre>
</div>
<h5 id="C1_LiveLinq_LiveViews_ViewRow_CancelEdit_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If the user set some of the updatable properties of the row while it was in edit mode, the changes to those properties are
rolled back and not propagated to the corresponding base data properties.</p>
<p>See the <a class="xref" href="C1.LiveLinq.LiveViews.ViewRow.BeginEdit.html#C1_LiveLinq_LiveViews_ViewRow_BeginEdit">BeginEdit()</a> method for more information.</p>
</div>
</div>
