# C1.WPF.Input.C1Popup

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Input_C1Popup" data-uid="C1.WPF.Input.C1Popup" class="text-break">C1Popup Class
</h1>
  <div class="markdown level0 summary"><p>Popup that displays a <a class="xref" href="C1.WPF.Input.C1Popup.Child.html#C1_WPF_Input_C1Popup_Child">Child</a> element relatively to <a class="xref" href="C1.WPF.Input.C1Popup.PlacementTarget.html#C1_WPF_Input_C1Popup_PlacementTarget">PlacementTarget</a>.</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="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.popup">Popup</a></div>
    <div class="level5"><span class="xref">C1Popup</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iaddchild">IAddChild</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Input.html">C1.WPF.Input</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Input.dll</h6>
  <h5 id="C1_WPF_Input_C1Popup_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1Popup : Popup, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1Popup
    Inherits Popup
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IDisposable</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_WPF_Input_C1Popup__ctor" data-uid="C1.WPF.Input.C1Popup.#ctor">
          <a class="xref" href="C1.WPF.Input.C1Popup.-ctor.html#C1_WPF_Input_C1Popup__ctor">C1Popup()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Input.C1Popup.html">C1Popup</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Input_C1Popup_AutoCloseProperty" data-uid="C1.WPF.Input.C1Popup.AutoCloseProperty">
          <a class="xref" href="C1.WPF.Input.C1Popup.AutoCloseProperty.html">AutoCloseProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1Popup.AutoClose.html#C1_WPF_Input_C1Popup_AutoClose">AutoClose</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_ChildProperty" data-uid="C1.WPF.Input.C1Popup.ChildProperty">
          <a class="xref" href="C1.WPF.Input.C1Popup.ChildProperty.html">ChildProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1Popup.Child.html#C1_WPF_Input_C1Popup_Child">Child</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_CloseOnLostFocusProperty" data-uid="C1.WPF.Input.C1Popup.CloseOnLostFocusProperty">
          <a class="xref" href="C1.WPF.Input.C1Popup.CloseOnLostFocusProperty.html">CloseOnLostFocusProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1Popup.CloseOnLostFocus.html#C1_WPF_Input_C1Popup_CloseOnLostFocus">CloseOnLostFocus</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_CloseOnPlacementTargetOccludedProperty" data-uid="C1.WPF.Input.C1Popup.CloseOnPlacementTargetOccludedProperty">
          <a class="xref" href="C1.WPF.Input.C1Popup.CloseOnPlacementTargetOccludedProperty.html">CloseOnPlacementTargetOccludedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1Popup.CloseOnPlacementTargetOccluded.html#C1_WPF_Input_C1Popup_CloseOnPlacementTargetOccluded">CloseOnPlacementTargetOccluded</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_CloseOnPlacementTargetPositionChangedProperty" data-uid="C1.WPF.Input.C1Popup.CloseOnPlacementTargetPositionChangedProperty">
          <a class="xref" href="C1.WPF.Input.C1Popup.CloseOnPlacementTargetPositionChangedProperty.html">CloseOnPlacementTargetPositionChangedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1Popup.CloseOnPlacementTargetPositionChanged.html#C1_WPF_Input_C1Popup_CloseOnPlacementTargetPositionChanged">CloseOnPlacementTargetPositionChanged</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_CloseOnWindowChangedProperty" data-uid="C1.WPF.Input.C1Popup.CloseOnWindowChangedProperty">
          <a class="xref" href="C1.WPF.Input.C1Popup.CloseOnWindowChangedProperty.html">CloseOnWindowChangedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1Popup.CloseOnWindowChanged.html#C1_WPF_Input_C1Popup_CloseOnWindowChanged">CloseOnWindowChanged</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_DetectBoundariesProperty" data-uid="C1.WPF.Input.C1Popup.DetectBoundariesProperty">
          <a class="xref" href="C1.WPF.Input.C1Popup.DetectBoundariesProperty.html">DetectBoundariesProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1Popup.DetectBoundaries.html#C1_WPF_Input_C1Popup_DetectBoundaries">DetectBoundaries</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_GetLocationsProperty" data-uid="C1.WPF.Input.C1Popup.GetLocationsProperty">
          <a class="xref" href="C1.WPF.Input.C1Popup.GetLocationsProperty.html">GetLocationsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1Popup.GetLocations.html#C1_WPF_Input_C1Popup_GetLocations">GetLocations</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_GetReferencePositionProperty" data-uid="C1.WPF.Input.C1Popup.GetReferencePositionProperty">
          <a class="xref" href="C1.WPF.Input.C1Popup.GetReferencePositionProperty.html">GetReferencePositionProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1Popup.GetReferencePosition.html#C1_WPF_Input_C1Popup_GetReferencePosition">GetReferencePosition</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_IgnoreFlowDirectionProperty" data-uid="C1.WPF.Input.C1Popup.IgnoreFlowDirectionProperty">
          <a class="xref" href="C1.WPF.Input.C1Popup.IgnoreFlowDirectionProperty.html">IgnoreFlowDirectionProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1Popup.IgnoreFlowDirection.html#C1_WPF_Input_C1Popup_IgnoreFlowDirection">IgnoreFlowDirection</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_OverlapHorizontalProperty" data-uid="C1.WPF.Input.C1Popup.OverlapHorizontalProperty">
          <a class="xref" href="C1.WPF.Input.C1Popup.OverlapHorizontalProperty.html">OverlapHorizontalProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1Popup.OverlapHorizontal.html#C1_WPF_Input_C1Popup_OverlapHorizontal">OverlapHorizontal</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_OverlapVerticalProperty" data-uid="C1.WPF.Input.C1Popup.OverlapVerticalProperty">
          <a class="xref" href="C1.WPF.Input.C1Popup.OverlapVerticalProperty.html">OverlapVerticalProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1Popup.OverlapVertical.html#C1_WPF_Input_C1Popup_OverlapVertical">OverlapVertical</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_PlacementTargetProperty" data-uid="C1.WPF.Input.C1Popup.PlacementTargetProperty">
          <a class="xref" href="C1.WPF.Input.C1Popup.PlacementTargetProperty.html">PlacementTargetProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Input.C1Popup.PlacementTarget.html#C1_WPF_Input_C1Popup_PlacementTarget">PlacementTarget</a> dependency property.</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_WPF_Input_C1Popup_AutoClose" data-uid="C1.WPF.Input.C1Popup.AutoClose">
          <a class="xref" href="C1.WPF.Input.C1Popup.AutoClose.html#C1_WPF_Input_C1Popup_AutoClose">AutoClose</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the popup will close automatically when tapping outside the popup.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_CheckBorders" data-uid="C1.WPF.Input.C1Popup.CheckBorders">
          <a class="xref" href="C1.WPF.Input.C1Popup.CheckBorders.html#C1_WPF_Input_C1Popup_CheckBorders">CheckBorders</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the positioning algorithm will check for the borders of the window.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_Child" data-uid="C1.WPF.Input.C1Popup.Child">
          <a class="xref" href="C1.WPF.Input.C1Popup.Child.html#C1_WPF_Input_C1Popup_Child">Child</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element that will located in the popup.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_CloseOnLostFocus" data-uid="C1.WPF.Input.C1Popup.CloseOnLostFocus">
          <a class="xref" href="C1.WPF.Input.C1Popup.CloseOnLostFocus.html#C1_WPF_Input_C1Popup_CloseOnLostFocus">CloseOnLostFocus</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the popup closes automatically when the focus is out of Child or PlacementTarget.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_CloseOnPlacementTargetOccluded" data-uid="C1.WPF.Input.C1Popup.CloseOnPlacementTargetOccluded">
          <a class="xref" href="C1.WPF.Input.C1Popup.CloseOnPlacementTargetOccluded.html#C1_WPF_Input_C1Popup_CloseOnPlacementTargetOccluded">CloseOnPlacementTargetOccluded</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the popup is closed when the the PlacementTarget is partially or completely occluded.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_CloseOnPlacementTargetPositionChanged" data-uid="C1.WPF.Input.C1Popup.CloseOnPlacementTargetPositionChanged">
          <a class="xref" href="C1.WPF.Input.C1Popup.CloseOnPlacementTargetPositionChanged.html#C1_WPF_Input_C1Popup_CloseOnPlacementTargetPositionChanged">CloseOnPlacementTargetPositionChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the popup is closed when the position or size of the PlacementTarget changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_CloseOnWindowChanged" data-uid="C1.WPF.Input.C1Popup.CloseOnWindowChanged">
          <a class="xref" href="C1.WPF.Input.C1Popup.CloseOnWindowChanged.html#C1_WPF_Input_C1Popup_CloseOnWindowChanged">CloseOnWindowChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the popup is closed when the window position or size changed or it is deactivated.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_DetectBoundaries" data-uid="C1.WPF.Input.C1Popup.DetectBoundaries">
          <a class="xref" href="C1.WPF.Input.C1Popup.DetectBoundaries.html#C1_WPF_Input_C1Popup_DetectBoundaries">DetectBoundaries</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the positioning algorithm will check for the borders of the window.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_GetLocations" data-uid="C1.WPF.Input.C1Popup.GetLocations">
          <a class="xref" href="C1.WPF.Input.C1Popup.GetLocations.html#C1_WPF_Input_C1Popup_GetLocations">GetLocations</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a function that the positioning algorithm will use to determine the location of Child.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_GetReferencePosition" data-uid="C1.WPF.Input.C1Popup.GetReferencePosition">
          <a class="xref" href="C1.WPF.Input.C1Popup.GetReferencePosition.html#C1_WPF_Input_C1Popup_GetReferencePosition">GetReferencePosition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a reference point that the positioning algorithm will use to determine the location of Child.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_IgnoreFlowDirection" data-uid="C1.WPF.Input.C1Popup.IgnoreFlowDirection">
          <a class="xref" href="C1.WPF.Input.C1Popup.IgnoreFlowDirection.html#C1_WPF_Input_C1Popup_IgnoreFlowDirection">IgnoreFlowDirection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the <span class="xref">FlowDirection</span> will be taken into account.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_IsDisposed" data-uid="C1.WPF.Input.C1Popup.IsDisposed">
          <a class="xref" href="C1.WPF.Input.C1Popup.IsDisposed.html#C1_WPF_Input_C1Popup_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this instance is disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_LogicalChildren" data-uid="C1.WPF.Input.C1Popup.LogicalChildren">
          <a class="xref" href="C1.WPF.Input.C1Popup.LogicalChildren.html#C1_WPF_Input_C1Popup_LogicalChildren">LogicalChildren</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_OverlapHorizontal" data-uid="C1.WPF.Input.C1Popup.OverlapHorizontal">
          <a class="xref" href="C1.WPF.Input.C1Popup.OverlapHorizontal.html#C1_WPF_Input_C1Popup_OverlapHorizontal">OverlapHorizontal</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal overlap of the Child with respect of PlacementTarget.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_OverlapVertical" data-uid="C1.WPF.Input.C1Popup.OverlapVertical">
          <a class="xref" href="C1.WPF.Input.C1Popup.OverlapVertical.html#C1_WPF_Input_C1Popup_OverlapVertical">OverlapVertical</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical overlap of the Child with respect of PlacementTarget.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_PlacementTarget" data-uid="C1.WPF.Input.C1Popup.PlacementTarget">
          <a class="xref" href="C1.WPF.Input.C1Popup.PlacementTarget.html#C1_WPF_Input_C1Popup_PlacementTarget">PlacementTarget</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element that will determine the position of Child.</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_WPF_Input_C1Popup_Dispose" data-uid="C1.WPF.Input.C1Popup.Dispose">
          <a class="xref" href="C1.WPF.Input.C1Popup.Dispose.html#C1_WPF_Input_C1Popup_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_Dispose_System_Boolean_" data-uid="C1.WPF.Input.C1Popup.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Input.C1Popup.Dispose.html#C1_WPF_Input_C1Popup_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_Finalize" data-uid="C1.WPF.Input.C1Popup.Finalize">
          <a class="xref" href="C1.WPF.Input.C1Popup.Finalize.html#C1_WPF_Input_C1Popup_Finalize">Finalize()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes this instance of the <a class="xref" href="C1.WPF.Input.C1Popup.html">C1Popup</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_OnApplyTemplate" data-uid="C1.WPF.Input.C1Popup.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Input.C1Popup.OnApplyTemplate.html#C1_WPF_Input_C1Popup_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_OnClosed_System_EventArgs_" data-uid="C1.WPF.Input.C1Popup.OnClosed(System.EventArgs)">
          <a class="xref" href="C1.WPF.Input.C1Popup.OnClosed.html#C1_WPF_Input_C1Popup_OnClosed_System_EventArgs_">OnClosed(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_OnMouseDown_System_Windows_Input_MouseButtonEventArgs_" data-uid="C1.WPF.Input.C1Popup.OnMouseDown(System.Windows.Input.MouseButtonEventArgs)">
          <a class="xref" href="C1.WPF.Input.C1Popup.OnMouseDown.html#C1_WPF_Input_C1Popup_OnMouseDown_System_Windows_Input_MouseButtonEventArgs_">OnMouseDown(MouseButtonEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Input_C1Popup_OnOpened_System_EventArgs_" data-uid="C1.WPF.Input.C1Popup.OnOpened(System.EventArgs)">
          <a class="xref" href="C1.WPF.Input.C1Popup.OnOpened.html#C1_WPF_Input_C1Popup_OnOpened_System_EventArgs_">OnOpened(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
