microsoft / microsoft/WPF-Samples

WalkthroughFirstWPFApp/csharp/MainWindow.xaml references non-existent resource CustomNavWindowStyle

Open Beginner friendly
#792 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
5.7k
Forks
3.3k
Avg merge
12d 8h
Merged PRs (30d)
2

Description

Description:
Getting Started/WalkthroughFirstWPFApp/csharp/MainWindow.xaml line 11 references Style="{StaticResource CustomNavWindowStyle}", but this resource key does not exist anywhere in the project.
The actual style is defined in NavigationWindowKeyboardAccessibleStyle.xaml with key NavWindowKeyboardAccessibleStyle (line 629).
Expected: Change to Style="{StaticResource NavWindowKeyboardAccessibleStyle}"
Files affected:

  • Getting Started/WalkthroughFirstWPFApp/csharp/MainWindow.xaml:11

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

Open Getting Started/WalkthroughFirstWPFApp/csharp/MainWindow.xaml at line 11 and compare its resource reference with NavigationWindowKeyboardAccessibleStyle.xaml at line 629. Confirm that the referenced key is absent and the defined key is NavWindowKeyboardAccessibleStyle. Done when the sample uses the existing resource key and the project builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
94/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.