# C1.Win.LongOperationEventArgs.CanCancel

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_LongOperationEventArgs_CanCancel_" data-uid="C1.Win.LongOperationEventArgs.CanCancel*">CanCancel Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_LongOperationEventArgs_CanCancel_" data-uid="C1.Win.LongOperationEventArgs.CanCancel*"></a>
<h4 id="C1_Win_LongOperationEventArgs_CanCancel" data-uid="C1.Win.LongOperationEventArgs.CanCancel">CanCancel</h4>
<div class="markdown level1 summary"><p>Gets the value indicating whether the event handler can cancel the current long operation
by setting the <a class="xref" href="C1.Win.LongOperationEventArgs.Cancel.html#C1_Win_LongOperationEventArgs_Cancel">Cancel</a> property to <b>true</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 CanCancel { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property CanCancel As Boolean</code></pre>
</div>
</div>
