Suggestion: use IsEnabled for the Back button

Open Beginner friendly
#2,290 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
frontend

Research direction

Find the title bar back button and its navigation state binding in the WinUI Gallery source. Read how the button is currently shown or hidden, then update its enabled state to reflect whether back navigation is possible. Done when the button remains visible and is disabled when there is no back navigation available.

Written by the indexing model from the issue text.

Description

needs-triage
Issue type

enhancement

Which version of the app?

WinUI Gallery

Description

The back button in the title bar is hidden when navigation is not possible. Consider keeping it visible and binding IsEnabled to the navigation state instead. This aligns with common Windows navigation patterns where back buttons remain visible but disabled when no back navigation is available.

Screenshots

No response

Windows version

No response

Additional context

No response

Dominant language
C#
Stars
3.7k
Forks
766
Avg merge
3d 10h
Merged PRs (30d)
7

Getting set up

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.

More from microsoft/WinUI-Gallery

All issues in microsoft/WinUI-Gallery

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.