WindowEntry
Namespace: Hex1b
Assembly: Hex1b.dll
Represents a managed window entry with its state.
public sealed class WindowEntryInheritance
Object → WindowEntry
Properties
AllowOutOfBounds
Whether this window can be moved outside the panel bounds.
Returns: Boolean
public bool AllowOutOfBounds { get; }EscapeBehavior
How Escape key is handled for this window.
Returns: WindowEscapeBehavior
public WindowEscapeBehavior EscapeBehavior { get; }Height
Current height of the window.
Returns: Int32
public int Height { get; }IsModal
Whether this is a modal window.
Returns: Boolean
public bool IsModal { get; }IsResizable
Whether this window can be resized.
Returns: Boolean
public bool IsResizable { get; }LeftTitleBarActions
Actions displayed on the left side of the title bar.
Returns: IReadOnlyList<WindowAction>
public IReadOnlyList<WindowAction> LeftTitleBarActions { get; }MaxHeight
Maximum height for resize operations. Null means unbounded.
Returns: Nullable<Int32>
public int? MaxHeight { get; }MaxWidth
Maximum width for resize operations. Null means unbounded.
Returns: Nullable<Int32>
public int? MaxWidth { get; }MinHeight
Minimum height for resize operations.
Returns: Int32
public int MinHeight { get; }MinWidth
Minimum width for resize operations.
Returns: Int32
public int MinWidth { get; }PositionSpec
The positioning specification for initial placement. Used when X and Y are null.
Returns: WindowPositionSpec
public WindowPositionSpec PositionSpec { get; }RightTitleBarActions
Actions displayed on the right side of the title bar.
Returns: IReadOnlyList<WindowAction>
public IReadOnlyList<WindowAction> RightTitleBarActions { get; }ShowTitleBar
Whether the title bar is displayed.
Returns: Boolean
public bool ShowTitleBar { get; }Title
The window title displayed in the title bar.
Returns: String
public string Title { get; set; }Width
Current width of the window.
Returns: Int32
public int Width { get; }X
Current X position (null = use PositionSpec).
Returns: Nullable<Int32>
public int? X { get; }Y
Current Y position (null = use PositionSpec).
Returns: Nullable<Int32>
public int? Y { get; }ZIndex
Z-order index (higher = on top).
Returns: Int32
public int ZIndex { get; }Methods
BringToFront()
Brings this window to the front.
public void BringToFront()Close()
Closes this window.
public void Close()CloseWithResult<TResult>(TResult)
Closes this modal window with a typed result value.
Parameters:
result(<TResult>): The result value to return.
public void CloseWithResult<TResult>(TResult result)