HandyOrg / HandyOrg/HandyControl

hc:WindowAttach.IsDragElement 窗体最大化下无法拖拽

Open
#1,185 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.