Skip to content

PopupEntry

Namespace: Hex1b

Assembly: Hex1b.dll

Represents a popup entry with optional anchor information and barrier flag.

csharp
public sealed class PopupEntry

Inheritance

ObjectPopupEntry

Properties

IsBarrier

Gets whether this popup is a barrier that stops cascade dismissal.

Returns: Boolean

csharp
public bool IsBarrier { get; }

Remarks

A barrier popup stops the cascade when clicking away. Non-barrier popups (like submenus) propagate click-away dismissal to the nearest barrier or the bottom of the stack.

Use to mark a popup as a barrier:

csharp
e.Popups.Push(() => MyDialog()).AsBarrier();

Released under the MIT License.