Skip to content

WindowEscapeBehavior

Namespace: Hex1b

Assembly: Hex1b.dll

Controls how the Escape key behaves for a window.

csharp
public enum WindowEscapeBehavior

Fields

Close

Escape closes the window (default).

Returns: WindowEscapeBehavior

csharp
Close = 0

CloseNonModal

Escape only closes non-modal windows.

Returns: WindowEscapeBehavior

csharp
CloseNonModal = 2

Ignore

Escape is ignored - window stays open.

Returns: WindowEscapeBehavior

csharp
Ignore = 1

Released under the MIT License.