Defines a popup managed by a toolbar manager.
Namespace: Eremex.AvaloniaUI.Controls.Bars
Assembly: Eremex.Avalonia.Controls.dll
NuGet Package: Eremex.Avalonia.Controls
Declaration
Properties
| name |
description |
| CanOpenPopup { get; } |
Gets whether the popup can be opened. |
| ClosePopupOnPointerLeave { get; } |
Gets whether the popup closes when the pointer leaves it. |
| IsPopupOpen { get; } |
Gets whether the item's popup is open. |
| Manager { get; set; } |
Gets or sets the toolbar manager associated with this object. |
| Navigation { get; } |
Gets the keyboard navigation handler for the popup. |
| PopupClientPosition { get; set; } |
Gets or sets the position of the popup's client area. |
| ShadowOffset { get; } |
Gets the offset of the popup shadow. |
Methods
| name |
description |
| ClosePopup() |
Closes the popup. |
| FocusContent() |
Moves keyboard focus to the popup's content. |
| ForceApplyStyling() |
Applies styles to the popup's content. |
| HidePopup() |
Hides the popup. |
| OnClosed() |
Processes the popup's closed notification. |
| OnOpened() |
Processes the popup's opened notification. |
| OnOpening() |
Processes the popup's opening notification. |
| 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. |
Events
| name |
description |
| 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. |
See Also