HandyOrg / HandyOrg/HandyControl
TabControl Background with a TextBrush color
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hey 🖐,
I was looking for changing color of the Handy's TabControl, and found that a Background="{DynamicResource SecondaryTextBrush}", TabControl.xaml-Line 84.
Isn't that wierd to link a background to a TextBrush ? That's maybe just me !
Solution (?) :
Background="{TemplateBinding Background}"Background="{DynamicResource SecondaryRegionBrush}"
Same thing :
TabControl.xaml-Line124
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
Open src/Shared/HandyControl_Shared/Themes/Styles/TabControl.xaml and inspect the Background values at lines 84 and 124. Compare the proposed TemplateBinding and SecondaryRegionBrush alternatives with the intended TabControl background behavior; the issue is done when both locations use the appropriate background source and the control displays the expected color.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100