BarMenuItem Command issue when used in RibbonApplicationButton

Bars for WPF Forum

Posted 2 months ago by Matthew Moloney
Version: 24.1.1
Platform: .NET 6.0
Environment: Windows 11 (64-bit)
Avatar

<bars:RibbonApplicationButton>
<bars:BarMenuItem Command="ApplicationCommands.New" />
<bars:BarSplitMenuItem Command="ApplicationCommands.New" />
</bars:RibbonApplicationButton>

The BarMenuItem will display as disabled while BarSplitMenuItem is displayed as enabled where the New command has been correctly bound. I suspect there is something wrong with the CanExecute behavior for the BarMenuItem.

This behavior only appears in 24.1, it works propertly in 23.1 and seems to have been fixed for 24.1.2-beta.5.

I'm assuming it's a bug and am making a note of it for the benefit others who may be on 24.1.1 and hitting the same issue.

I'm using .NET 8.0.

[Modified 2 months ago]

Comments (1)

Answer - Posted 2 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Matthew,

Yes, that is a confirmed bug that was discovered after the last official release.  We have a fix in place in the v24.1.2 prerelease on nuget.org for people affected by the bug in v24.1.1.  Thanks!


Actipro Software Support

The latest build of this product (v24.1.2) was released 7 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.