Skip to content

hc:Window cannot be resized if it starts with WindowState=Maximized and is then restored #1793

@CodingOctocat

Description

@CodingOctocat

Describe the bug

When the hc:window is initialized with WindowState=Maximized, resizing no longer works after restoring it to normal state.

Steps to reproduce the bug

Set WindowState="Maximized" in XAML or during initialization(hc:Window)
Launch the application
Restore the window to normal state
Move the mouse to the window edge

Expected behavior

The window should be resizable, and the resize cursor should appear at the edges.

Screenshots

No response

NuGet package version

HandyControls (Custom version) 3.6.0

IDE

Visual Studio 2026

Framework type

.Net 10.0

Windows version

Windows 11

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions