# FarPoint.Win.PopupWindowHelperMessageFilter.PopupCancel

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="FarPoint_Win_PopupWindowHelperMessageFilter_PopupCancel" data-uid="FarPoint.Win.PopupWindowHelperMessageFilter.PopupCancel" class="text-break">PopupCancel Event
</h1>
<div class="markdown level0 summary"><p>Raised when the Popup Window is about to be cancelled.  The
<a class="xref" href="FarPoint.Win.PopupCancelEventArgs.Cancel.html#FarPoint_Win_PopupCancelEventArgs_Cancel">Cancel</a> property can be
set to <code>true</code> to prevent the form from being cancelled.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.html">FarPoint.Win</a></h6>
<h6><strong>Assembly</strong>: FarPoint.Win.dll</h6>
<h5 id="FarPoint_Win_PopupWindowHelperMessageFilter_PopupCancel_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event PopupCancelEventHandler PopupCancel</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Event PopupCancel As PopupCancelEventHandler</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Win.PopupCancelEventHandler.html">PopupCancelEventHandler</a></td>
      <td>Raised when the Popup Window is about to be cancelled.  The  property can be set to true to prevent the form from being cancelled.</td>
    </tr>
  </tbody>
</table>
</div>
