HandyOrg / HandyOrg/HandyControl
hc:WindowAttach.IsDragElement 窗体最大化下无法拖拽
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
使用 hc:Window.NonClientAreaContent 自定义了客户端内容,并且使用了hc:WindowAttach.IsDragElement="True"使该区域可以拖拽,当拖拽到左右两侧时均可实现正常的停靠效果,当拖拽到顶部最大化后,无法进行拖拽操作,只能通过手动点击按钮进行还原。还原后可再次进行拖拽
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with hc:Window.NonClientAreaContent and hc:WindowAttach.IsDragElement="True" in a WPF window. Start by tracing the drag behavior when the window is moved to the top edge and maximized, then compare it with left and right docking. Done means the custom non-client content can be dragged again after top-edge maximization without manually restoring the window; no file or test path is provided.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100