dotnet / dotnet/wpf

RibbonWindow not working correctly with ThemeMode="System"

Open
#10,757 2 comments 1 reaction 0 assignees View on GitHub
Investigate Win 11 Theming
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

### Description

RibbonWindow fails to correctly render if **ThemeMode="System"** is in either App.xaml or MainWindow.xaml. RibbonWindow and Ribbon are well written but seem to have missed the modernization in dotnet 9.

### Reproduction Steps

Any valid RibbonWindow fails to render the quick access toolbar in the window title bar in a net9.0-windows or net10.0-windows project if any ThemeMode is set. I'm currently testing with 10.0.100-preview.2.25164.34.







### Expected behavior

Quick access toolbar in the window title bar.
![Image](https://github.com/user-attachments/assets/d424066d-7228-487f-a66a-e74c212cc42b)

### Actual behavior

See image in expected behavior.

### Regression?

_No response_

### Known Workarounds

_No response_

### Impact

_No response_

### Configuration

_No response_

### Other information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.