HandyOrg / HandyOrg/HandyControl
TabControl中的页签已经设置了隐藏关闭按钮,但是右键关闭,还是会关闭
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
<hc:TabItem Header="首页" ShowCloseButton="False" x:Name="index">
Views:IndexView/
</hc:TabItem>
TabControl中的页签已经设置了隐藏关闭按钮,但是右键关闭,还是会关闭
Steps to reproduce the bug
<hc:TabItem Header="首页" ShowCloseButton="False" x:Name="index">
Views:IndexView/
</hc:TabItem>
TabControl中的页签已经设置了隐藏关闭按钮,但是右键关闭,还是会关闭
Expected behavior
No response
Screenshots
No response
NuGet package version
None
IDE
No response
Framework type
No response
Windows version
No response
Additional context
No response
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
Start with the TabControl and TabItem behavior shown in the issue, focusing on how the right-click close action handles ShowCloseButton. Reproduce the case with ShowCloseButton="False" and verify that the tab remains open; add or update a regression test if the repository provides coverage for this behavior.
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