# C1.Web.Mvc.Popup

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Popup" data-uid="C1.Web.Mvc.Popup" class="text-break">Popup Class
</h1>
  <div class="markdown level0 summary"><p>The class that shows an element as a popup.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Web.Mvc.Component.html">Component</a></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Control.html">Control</a></div>
    <div class="level3"><span class="xref">Popup</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
    <div><a class="xref" href="C1.Web.Mvc.ITemplate.html">ITemplate</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Popup_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Popup : Control, IHtmlContent, ITemplate</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Popup
    Inherits Control
    Implements IHtmlContent, ITemplate</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Popup__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.Popup.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.Popup.-ctor.html#C1_Web_Mvc_Popup__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">Popup(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Popup.html">Popup</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Popup_AriaLabelledBy" data-uid="C1.Web.Mvc.Popup.AriaLabelledBy">
          <a class="xref" href="C1.Web.Mvc.Popup.AriaLabelledBy.html#C1_Web_Mvc_Popup_AriaLabelledBy">AriaLabelledBy</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the aria-labelledby attribute of&quot; Popup&quot; input element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_Content" data-uid="C1.Web.Mvc.Popup.Content">
          <a class="xref" href="C1.Web.Mvc.Popup.Content.html#C1_Web_Mvc_Popup_Content">Content</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the popup content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_ContentFunc" data-uid="C1.Web.Mvc.Popup.ContentFunc">
          <a class="xref" href="C1.Web.Mvc.Popup.ContentFunc.html#C1_Web_Mvc_Popup_ContentFunc">ContentFunc</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the function which returns the popup content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_DialogResultSubmit" data-uid="C1.Web.Mvc.Popup.DialogResultSubmit">
          <a class="xref" href="C1.Web.Mvc.Popup.DialogResultSubmit.html#C1_Web_Mvc_Popup_DialogResultSubmit">DialogResultSubmit</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a string to be used as a dialogResult when the dialog is hosted by a form element and the user submits the form.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_FadeIn" data-uid="C1.Web.Mvc.Popup.FadeIn">
          <a class="xref" href="C1.Web.Mvc.Popup.FadeIn.html#C1_Web_Mvc_Popup_FadeIn">FadeIn</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether popups should be shown using a fade-in animation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_FadeOut" data-uid="C1.Web.Mvc.Popup.FadeOut">
          <a class="xref" href="C1.Web.Mvc.Popup.FadeOut.html#C1_Web_Mvc_Popup_FadeOut">FadeOut</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether popups should be hidden using a fade-out animation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_HideTrigger" data-uid="C1.Web.Mvc.Popup.HideTrigger">
          <a class="xref" href="C1.Web.Mvc.Popup.HideTrigger.html#C1_Web_Mvc_Popup_HideTrigger">HideTrigger</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the actions that hide the Popup.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_IsDraggable" data-uid="C1.Web.Mvc.Popup.IsDraggable">
          <a class="xref" href="C1.Web.Mvc.Popup.IsDraggable.html#C1_Web_Mvc_Popup_IsDraggable">IsDraggable</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the popup can be dragged with the mouse by its header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_IsResizable" data-uid="C1.Web.Mvc.Popup.IsResizable">
          <a class="xref" href="C1.Web.Mvc.Popup.IsResizable.html#C1_Web_Mvc_Popup_IsResizable">IsResizable</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the popup can be resized by dragging its edges with the mouse.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_Modal" data-uid="C1.Web.Mvc.Popup.Modal">
          <a class="xref" href="C1.Web.Mvc.Popup.Modal.html#C1_Web_Mvc_Popup_Modal">Modal</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the Popup should be displayed as a modal dialog.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_OnClientDragged" data-uid="C1.Web.Mvc.Popup.OnClientDragged">
          <a class="xref" href="C1.Web.Mvc.Popup.OnClientDragged.html#C1_Web_Mvc_Popup_OnClientDragged">OnClientDragged</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the client function which occurs after the Popup has been dragged.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_OnClientDragging" data-uid="C1.Web.Mvc.Popup.OnClientDragging">
          <a class="xref" href="C1.Web.Mvc.Popup.OnClientDragging.html#C1_Web_Mvc_Popup_OnClientDragging">OnClientDragging</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the client function which occurs when the Popup is about to be dragged.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_OnClientHidden" data-uid="C1.Web.Mvc.Popup.OnClientHidden">
          <a class="xref" href="C1.Web.Mvc.Popup.OnClientHidden.html#C1_Web_Mvc_Popup_OnClientHidden">OnClientHidden</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the client function which occurs after the Popup has been hidden.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_OnClientHiding" data-uid="C1.Web.Mvc.Popup.OnClientHiding">
          <a class="xref" href="C1.Web.Mvc.Popup.OnClientHiding.html#C1_Web_Mvc_Popup_OnClientHiding">OnClientHiding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the client function which occurs before the Popup is hiding.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_OnClientPositionChanged" data-uid="C1.Web.Mvc.Popup.OnClientPositionChanged">
          <a class="xref" href="C1.Web.Mvc.Popup.OnClientPositionChanged.html#C1_Web_Mvc_Popup_OnClientPositionChanged">OnClientPositionChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the client function which occurs while the user moves the Popup, between the Dragging and Dragged events, after the PositionChanging event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_OnClientPositionChanging" data-uid="C1.Web.Mvc.Popup.OnClientPositionChanging">
          <a class="xref" href="C1.Web.Mvc.Popup.OnClientPositionChanging.html#C1_Web_Mvc_Popup_OnClientPositionChanging">OnClientPositionChanging</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the client function which occurs while the user moves the Popup, between the Dragging and Dragged events.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_OnClientResized" data-uid="C1.Web.Mvc.Popup.OnClientResized">
          <a class="xref" href="C1.Web.Mvc.Popup.OnClientResized.html#C1_Web_Mvc_Popup_OnClientResized">OnClientResized</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the client function which occurs after the Popup has been resized.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_OnClientResizing" data-uid="C1.Web.Mvc.Popup.OnClientResizing">
          <a class="xref" href="C1.Web.Mvc.Popup.OnClientResizing.html#C1_Web_Mvc_Popup_OnClientResizing">OnClientResizing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the client function which occurs when the Popup is about to be resized.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_OnClientShowing" data-uid="C1.Web.Mvc.Popup.OnClientShowing">
          <a class="xref" href="C1.Web.Mvc.Popup.OnClientShowing.html#C1_Web_Mvc_Popup_OnClientShowing">OnClientShowing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the client function which occurs before the Popup is showing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_OnClientShown" data-uid="C1.Web.Mvc.Popup.OnClientShown">
          <a class="xref" href="C1.Web.Mvc.Popup.OnClientShown.html#C1_Web_Mvc_Popup_OnClientShown">OnClientShown</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the client function which occurs after the Popup has been shown.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_OnClientSizeChanged" data-uid="C1.Web.Mvc.Popup.OnClientSizeChanged">
          <a class="xref" href="C1.Web.Mvc.Popup.OnClientSizeChanged.html#C1_Web_Mvc_Popup_OnClientSizeChanged">OnClientSizeChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the client function which occurs while the user resizes the Popup, between the resizing and resized events, after the SizeChanging event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_OnClientSizeChanging" data-uid="C1.Web.Mvc.Popup.OnClientSizeChanging">
          <a class="xref" href="C1.Web.Mvc.Popup.OnClientSizeChanging.html#C1_Web_Mvc_Popup_OnClientSizeChanging">OnClientSizeChanging</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the client function which occurs while the user resizes the Popup, between the resizing and resized events.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_Owner" data-uid="C1.Web.Mvc.Popup.Owner">
          <a class="xref" href="C1.Web.Mvc.Popup.Owner.html#C1_Web_Mvc_Popup_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the selector string to determine the element that own this popup.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_Position" data-uid="C1.Web.Mvc.Popup.Position">
          <a class="xref" href="C1.Web.Mvc.Popup.Position.html#C1_Web_Mvc_Popup_Position">Position</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines where the popup should be displayed with respect to the owner element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_RemoveOnHide" data-uid="C1.Web.Mvc.Popup.RemoveOnHide">
          <a class="xref" href="C1.Web.Mvc.Popup.RemoveOnHide.html#C1_Web_Mvc_Popup_RemoveOnHide">RemoveOnHide</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the Popup element should be removed from the DOM when the Popup is hidden, as opposed to being hidden.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Popup_ShowTrigger" data-uid="C1.Web.Mvc.Popup.ShowTrigger">
          <a class="xref" href="C1.Web.Mvc.Popup.ShowTrigger.html#C1_Web_Mvc_Popup_ShowTrigger">ShowTrigger</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the actions that show the Popup.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Popup_RenderContent_System_IO_TextWriter_System_Text_Encodings_Web_HtmlEncoder_" data-uid="C1.Web.Mvc.Popup.RenderContent(System.IO.TextWriter,System.Text.Encodings.Web.HtmlEncoder)">
          <a class="xref" href="C1.Web.Mvc.Popup.RenderContent.html#C1_Web_Mvc_Popup_RenderContent_System_IO_TextWriter_System_Text_Encodings_Web_HtmlEncoder_">RenderContent(TextWriter, HtmlEncoder)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
