Skip to content

Window border disappears when restored after starting maximized #213

@IDXGI

Description

@IDXGI

When a window is launched in a maximized state (WindowState = Maximized), its border disappears after being restored to a normal size. The border reappears if the window is then minimized and restored.

Steps to Reproduce:

  1. In the Showcase program's MainWindow, set the WindowState property to Maximized.
  2. Run the application. The window will open in a maximized state.
  3. Restore the window to its normal size by clicking the restore button in the title bar.
  4. Observe that the window's blue border is now missing.

Expected Behavior:

The window should retain its border after being restored from a maximized state.

Actual Behavior:

The window border disappears upon being restored. Minimizing and then restoring the window again causes the border to reappear correctly.

Environment

ControlzEx 7.0.1
Windows 11
.NET 9

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions