Skip to content

IPopupOwner interface

Defines an item that owns a popup and controls its placement and opening behavior.

Namespace: Eremex.AvaloniaUI.Controls.Bars
Assembly: Eremex.Avalonia.Controls.dll
NuGet Package: Eremex.Avalonia.Controls

Declaration

public interface IPopupOwner

Members

name description
Holder { get; } Gets the container that owns the item.
HorizontalOffset { get; } Gets the horizontal offset applied when positioning the popup.
IsPopupOpen { get; } Gets whether the item's popup is open.
IsPopupOpening { get; } Gets whether the item's popup is being opened.
Manager { get; } Gets the toolbar manager associated with this object.
OnPointerEnterOpenMode { get; } Gets how entering the item with the pointer opens its popup.
OnPointerLeaveCloseMode { get; } Gets how leaving the item with the pointer closes its popup.
ParentPopup { get; } Gets the popup that contains the popup owner.
PlacementAnchor { get; } Gets the anchor point on the popup's placement rectangle.
PlacementGravity { get; } Gets the direction in which the popup extends from its anchor point.
PlacementMode { get; } Gets the mode used to position the popup.
PlacementRect { get; } Gets the rectangle used to position the popup relative to its placement target.
PlacementTarget { get; } Gets the control relative to which the popup is positioned.
Popup { get; } Gets the underlying Avalonia popup.
VerticalOffset { get; } Gets the vertical offset applied when positioning the popup.
ClosePopup() Closes the popup.
OnPopupClosed() Processes the owned popup's closed notification.
OnPopupOpened() Processes the owned popup's opened notification.
OpenPopup() Opens the popup using its current placement settings.
RestoreLogicalParent() Restores the popup's logical parent to its owner.

See Also