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.

Assessment

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

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.

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
Dominant language
C#
Stars
5.7k
Forks
3.3k
Avg merge
12d 8h
Merged PRs (30d)
2

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.

More from microsoft/WPF-Samples

All issues in microsoft/WPF-Samples

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.