# C1.Win.LongOperationEventArgs.Cancel

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_LongOperationEventArgs_Cancel_" data-uid="C1.Win.LongOperationEventArgs.Cancel*">Cancel Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_LongOperationEventArgs_Cancel_" data-uid="C1.Win.LongOperationEventArgs.Cancel*"></a>
<h4 id="C1_Win_LongOperationEventArgs_Cancel" data-uid="C1.Win.LongOperationEventArgs.Cancel">Cancel</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether the current long operation
should be cancelled. (This property is ignored if <a class="xref" href="C1.Win.LongOperationEventArgs.CanCancel.html#C1_Win_LongOperationEventArgs_CanCancel">CanCancel</a> is <b>false</b>.)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool Cancel { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Cancel As Boolean</code></pre>
</div>
</div>
