# IPopupOwner interface

Defines an item that owns a popup and controls its placement and opening behavior.

**Namespace:** [`Eremex.AvaloniaUI.Controls.Bars`](./index.md)  
**Assembly:** `Eremex.Avalonia.Controls.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public interface IPopupOwner
```

## Members

| name | description |
| --- | --- |
| [Holder](IPopupOwner/Holder.md) { get; } | Gets the container that owns the item. |
| [HorizontalOffset](IPopupOwner/HorizontalOffset.md) { get; } | Gets the horizontal offset applied when positioning the popup. |
| [IsPopupOpen](IPopupOwner/IsPopupOpen.md) { get; } | Gets whether the item's popup is open. |
| [IsPopupOpening](IPopupOwner/IsPopupOpening.md) { get; } | Gets whether the item's popup is being opened. |
| [Manager](IPopupOwner/Manager.md) { get; } | Gets the toolbar manager associated with this object. |
| [OnPointerEnterOpenMode](IPopupOwner/OnPointerEnterOpenMode.md) { get; } | Gets how entering the item with the pointer opens its popup. |
| [OnPointerLeaveCloseMode](IPopupOwner/OnPointerLeaveCloseMode.md) { get; } | Gets how leaving the item with the pointer closes its popup. |
| [ParentPopup](IPopupOwner/ParentPopup.md) { get; } | Gets the popup that contains the popup owner. |
| [PlacementAnchor](IPopupOwner/PlacementAnchor.md) { get; } | Gets the anchor point on the popup's placement rectangle. |
| [PlacementGravity](IPopupOwner/PlacementGravity.md) { get; } | Gets the direction in which the popup extends from its anchor point. |
| [PlacementMode](IPopupOwner/PlacementMode.md) { get; } | Gets the mode used to position the popup. |
| [PlacementRect](IPopupOwner/PlacementRect.md) { get; } | Gets the rectangle used to position the popup relative to its placement target. |
| [PlacementTarget](IPopupOwner/PlacementTarget.md) { get; } | Gets the control relative to which the popup is positioned. |
| [Popup](IPopupOwner/Popup.md) { get; } | Gets the underlying Avalonia popup. |
| [VerticalOffset](IPopupOwner/VerticalOffset.md) { get; } | Gets the vertical offset applied when positioning the popup. |
| [ClosePopup](IPopupOwner/ClosePopup.md)() | Closes the popup. |
| [OnPopupClosed](IPopupOwner/OnPopupClosed.md)() | Processes the owned popup's closed notification. |
| [OnPopupOpened](IPopupOwner/OnPopupOpened.md)() | Processes the owned popup's opened notification. |
| [OpenPopup](IPopupOwner/OpenPopup.md)() | Opens the popup using its current placement settings. |
| [RestoreLogicalParent](IPopupOwner/RestoreLogicalParent.md)() | Restores the popup's logical parent to its owner. |

## See Also

* namespace [Eremex.AvaloniaUI.Controls.Bars](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
