Fluent.Ribbon icon indicating copy to clipboard operation
Fluent.Ribbon copied to clipboard

No Update IsChecked for QuickAccessItems in Codebehind

Open bytemeer opened this issue 6 months ago • 3 comments

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

bytemeer avatar Jun 19 '25 07:06 bytemeer

Could you add a repro? Maybe it's a bug in Fluent.Ribbon, maybe in your code. ;-)

batzen avatar Jun 25 '25 17:06 batzen

IsChecked must be set after Add

VratislavBelsky avatar Aug 12 '25 20:08 VratislavBelsky

var btn = new Fluent.QuickAccessMenuItem { Target = target, }; ribbon.QuickAccessItems.Add(btn); btn.IsChecked = true;

VratislavBelsky avatar Aug 12 '25 20:08 VratislavBelsky