[错误] hc:在初始化窗口时,点击最大化按钮会抛出 ElementNotEnabledException

作者: ABA2396创建于 2025年10月7日更新于 2026年6月22日

Describe the bug When using hc:Window from HandyControl as the main window, clicking the maximize button at the initial stage of initialization will throw an ElementNotEnabledException. During testing, it was also found that even if IsEnabled is set to False, the maximize button can still be clicked (the minimize and close buttons will be disabled), but the main problem is that the maximize button is clickable and will throw an error during the initialization stage.

内容来源: HandyOrg/HandyControl