Skip to content

WindowEntry ​

Namespace: Hex1b

Assembly: Hex1b.dll

Represents a managed window entry with its state.

csharp
public sealed class WindowEntry

Inheritance ​

Object → WindowEntry

Properties ​

AllowOutOfBounds ​

Whether this window can be moved outside the panel bounds.

Returns: Boolean

csharp
public bool AllowOutOfBounds { get; }

EscapeBehavior ​

How Escape key is handled for this window.

Returns: WindowEscapeBehavior

csharp
public WindowEscapeBehavior EscapeBehavior { get; }

Height ​

Current height of the window.

Returns: Int32

csharp
public int Height { get; }

IsModal ​

Whether this is a modal window.

Returns: Boolean

csharp
public bool IsModal { get; }

IsResizable ​

Whether this window can be resized.

Returns: Boolean

csharp
public bool IsResizable { get; }

LeftTitleBarActions ​

Actions displayed on the left side of the title bar.

Returns: IReadOnlyList<WindowAction>

csharp
public IReadOnlyList<WindowAction> LeftTitleBarActions { get; }

MaxHeight ​

Maximum height for resize operations. Null means unbounded.

Returns: Nullable<Int32>

csharp
public int? MaxHeight { get; }

MaxWidth ​

Maximum width for resize operations. Null means unbounded.

Returns: Nullable<Int32>

csharp
public int? MaxWidth { get; }

MinHeight ​

Minimum height for resize operations.

Returns: Int32

csharp
public int MinHeight { get; }

MinWidth ​

Minimum width for resize operations.

Returns: Int32

csharp
public int MinWidth { get; }

PositionSpec ​

The positioning specification for initial placement. Used when X and Y are null.

Returns: WindowPositionSpec

csharp
public WindowPositionSpec PositionSpec { get; }

RightTitleBarActions ​

Actions displayed on the right side of the title bar.

Returns: IReadOnlyList<WindowAction>

csharp
public IReadOnlyList<WindowAction> RightTitleBarActions { get; }

ShowTitleBar ​

Whether the title bar is displayed.

Returns: Boolean

csharp
public bool ShowTitleBar { get; }

Title ​

The window title displayed in the title bar.

Returns: String

csharp
public string Title { get; set; }

Width ​

Current width of the window.

Returns: Int32

csharp
public int Width { get; }

X ​

Current X position (null = use PositionSpec).

Returns: Nullable<Int32>

csharp
public int? X { get; }

Y ​

Current Y position (null = use PositionSpec).

Returns: Nullable<Int32>

csharp
public int? Y { get; }

ZIndex ​

Z-order index (higher = on top).

Returns: Int32

csharp
public int ZIndex { get; }

Methods ​

BringToFront() ​

Brings this window to the front.

csharp
public void BringToFront()

Close() ​

Closes this window.

csharp
public void Close()

CloseWithResult<TResult>(TResult) ​

Closes this modal window with a typed result value.

Parameters:

  • result (<TResult>): The result value to return.
csharp
public void CloseWithResult<TResult>(TResult result)

Released under the MIT License.