Skip to content

BackdropClickedEventArgs ​

Namespace: Hex1b.Events

Assembly: Hex1b.dll

Event arguments for backdrop click-away events. Provides context about where the click occurred and APIs to control popup/overlay behavior.

csharp
public sealed class BackdropClickedEventArgs

Inheritance ​

Object → BackdropClickedEventArgs

Properties ​

Handled ​

Gets or sets whether this click-away event has been handled. If true, no further default action will be taken.

Returns: Boolean

csharp
public bool Handled { get; set; }

LayerId ​

An optional identifier for this backdrop/popup layer. Used by PopupStack to identify which layer was clicked.

Returns: String

csharp
public string? LayerId { get; }

Widget ​

The backdrop widget that was clicked.

Returns: BackdropWidget

csharp
public BackdropWidget Widget { get; }

X ​

The X coordinate of the click (absolute screen position).

Returns: Int32

csharp
public int X { get; }

Y ​

The Y coordinate of the click (absolute screen position).

Returns: Int32

csharp
public int Y { get; }

Released under the MIT License.