PopupContainer class¶
Displays a control in a popup with optional resize and close buttons.
Namespace: Eremex.AvaloniaUI.Controls.Bars
Assembly: Eremex.Avalonia.Controls.dll
NuGet Package: Eremex.Avalonia.Controls
Declaration¶
Public Members¶
| name | description |
|---|---|
| PopupContainer() | Initializes a new instance of the PopupContainer class. |
| Child { get; set; } | Gets or sets the control displayed in the popup. |
| IsOpen { get; set; } | Gets or sets whether the popup is open. |
| Manager { get; set; } | Gets or sets the toolbar manager associated with this object. |
| PlacementAnchor { get; set; } | Gets or sets the anchor point on the popup's placement rectangle. |
| PlacementGravity { get; set; } | Gets or sets the direction in which the popup extends from its anchor point. |
| PlacementMode { get; set; } | Gets or sets the mode used to position the popup. |
| PlacementRect { get; set; } | Gets or sets the rectangle used to position the popup relative to its placement target. |
| PlacementTarget { get; set; } | Gets or sets the control relative to which the popup is positioned. |
| ShadowMargin { get; set; } | Gets or sets the margin reserved for the popup shadow. |
| ShadowOffset { get; set; } | Gets or sets the offset of the popup shadow. |
| ShowCloseButton { get; set; } | Gets or sets whether the popup displays a close button. |
| ShowSizeGrip { get; set; } | Gets or sets whether the popup displays a resize grip. |
| event Closed | Occurs after the popup closes. |
| event Closing | Occurs before the popup closes. Cancel the event to prevent closing. |
| event Opened | Occurs after the popup opens. |
| event Opening | Occurs before the popup opens. Cancel the event to prevent opening. |
| ClosePopup() | Closes the popup. |
| OpenPopup() | Opens the popup using its current placement settings. |
| OpenPopup(…) | Opens the popup at the specified position relative to the placement target and returns whether it opened. (4 methods) |
See Also¶
- interface IPopup
- namespace Eremex.AvaloniaUI.Controls.Bars