lepoco / lepoco/wpfui

TabView status?

Open
#847 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
9.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe

WinUI's TabView has features the WPF TabControl lacks:

image

For example,

  • tabs can be dragged to change their order
  • …and they can be dragged between windows, or to create a new window
  • tabs feature a close button
  • there's an add button to the right

I would argue despite the similar visual metaphor, the TabView and TabControl are two different things. The TabView holds entire documents (for example, Windows 11's Notepad); the TabControl gives different views for a single document (for example, the General / Security / etc. tabs in a File Explorer's Properties dialog).

Describe the solution you'd like

There's an existing WPF library that does most (all?) of the above in https://github.com/ButchersBoy/Dragablz, and you can see that in action in a modern UI in, for example, the ModernWpf integration.

I wonder if, in lieu of rolling an implementation of its own, there could be a Wpf.Ui.Dragablz library that wraps Dragablz, and adds WpfUi styling.

Describe alternatives you've considered

No response

Additional context

No response

Contributor guide

Open the contributing guide

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

No repository files or tests are named. Start by reviewing Dragablz and its ModernWpf integration, then inspect the WPF UI project structure to determine where a Wpf.Ui.Dragablz library could fit. Done would mean an agreed integration scope that provides the requested tab behavior with WPF UI styling.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.