Fluent.Ribbon
Fluent.Ribbon copied to clipboard
No Update IsChecked for QuickAccessItems in Codebehind
First of all, thank you very much for your great work! When I add new items to QuickAccessItems via code-behind, the IsChecked attribute is not evaluated. The elements are present in the QuickAccessMenu but are only displayed after I click on the QuickAccessMenuDropDown icon. Am I doing something wrong, or is this a bug?
- Fluent.Ribbon: 11.1
- Windows 11
- .NET 4.8
Could you add a repro? Maybe it's a bug in Fluent.Ribbon, maybe in your code. ;-)
IsChecked must be set after Add
var btn = new Fluent.QuickAccessMenuItem { Target = target, }; ribbon.QuickAccessItems.Add(btn); btn.IsChecked = true;