lepoco / lepoco/wpfui

TitleBar suggestion

Open
#1,025 2 comments 0 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

Within the TitleBar, there is a Header, but I prefer not to use it as it aligns to the right only. Therefore, I would like to further break down these elements into smaller controls to enhance the flexibility of custom windows.

Describe the solution you'd like

I think dividing the TitleBar control into three separate controls would be beneficial: WindowTitle, WindowBar, and WindowButton.

  • WindowTitle: Responsible for displaying the window title.
  • WindowBar: Contains basic functionalities such as dragging.
  • WindowButton: Includes maximize, minimize, and close buttons (and potentially further subdivided into smaller controls).

I believe this approach can provide more customization options for windows, freeing them from the constraints of the TitleBar.

image

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

Start by locating the existing TitleBar and Header controls and understanding how their title, dragging, and window-button behavior is composed. Define whether separate WindowTitle, WindowBar, and WindowButton controls cover the requested customization, then verify the resulting window behavior and control API with the project's relevant tests or examples.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.