HandyOrg / HandyOrg/HandyControl

hc:TabControl.ItemTemplate is not updating when the bound value changes

Open
#889 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

Describe the bug
hc:TabControl.ItemTemplate is not updating when the bound value changes. It updates only after I trying to drag the tab and then release it, moreover, there is no drag animation.

An example is available here: https://github.com/MRGRD56/HCTabControlApp.

Expected behavior
hc:TabControl.ItemTemplate must be updated when the bound value changes, like in TabControl.

Screenshots
https://user-images.githubusercontent.com/35491968/123904570-1f5f8500-d98a-11eb-8d0d-3ac082734b3a.mp4

Environment (please complete the following information):

  • .NET 5.0
  • IDE: Visual Studio 2019 Preview + ReSharper
  • HandyControl 3.1.0

Additional context
Usual TabControl does not have this problem.

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

Start by running the linked HCTabControlApp reproduction and comparing HandyControl's TabControl behavior with the standard WPF TabControl. Trace how hc:TabControl.ItemTemplate responds to bound-value changes; done when the template updates without requiring a tab drag, with the reported behavior covered by a suitable regression check.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.