Thanks to visit codestin.com
Credit goes to github.com

Skip to content

RibbonWindow and dotnet 9 and 10 ThemeMode #1246

@dha125

Description

@dha125

Adding ThemeMode to the App.xaml or a RibbonWindow.xaml causes the Max, Restore, Close buttons to not be drawn. Actually, .Net 9 and 10 also have these issues with their version of the System.Windows.Controls.RibbonWindow too.

<Fluent:RibbonWindow x:Class="WpfRibbonApp.MainWindow"
                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns:Fluent="clr-namespace:Fluent;assembly=Fluent"
                     Title="My first RibbonWindow" 
                     Width="800" 
                     Height="600"
                     ShowMaxRestoreButton="True"
                     ShowMinButton="True"
                     IsAutomaticCollapseEnabled="False"                     
                     IsCollapsed="False"
                    ThemeMode="Dark"
                     >
<!-- Snip -->
</Fluent:RibbonWindow>

Environment

- Fluent.Ribbon: 11.0.1-alpha0019
- Windows 10
- .NET 9 and 10 preview 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions