Ribbon CommandBinding design-time problem

Jan 26, 2010 at 2:28 AM

I've downloaded <<Lab: What’s Coming in WPF: Datagrid, Ribbon, and VSM>>from


and place RibbonControlsLibrary.dll to

d:\Sample\WPFFeaturesPreviewHOLOnline\WPF Features Preview HOL Online - Source\source\exercise2\task2\CheckbookManager\

build is ok, and running is ok and nice.

but in *design mode* of MainWindow.xaml, the designer can't display anything and reported an error:

Error    1    Value 'me:AppCommands.AddNew' cannot be assigned to property 'Command'. 'CommandValueSerializer' ValueSerializer cannot convert from 'System.String'.    D:\Sample\WPFFeaturesPreviewHOLOnline\WPF Features Preview HOL Online - Source\source\exercise2\final\CheckbookManager\MainWindow.xaml    14    25    CheckbookManager

What could me do?

Thank you.

Jan 26, 2010 at 2:36 AM

oh, I checked out this forum and found this discuss @ 2008:


so is there a new version of sample that solved it ?

Thank you!

Jan 26, 2010 at 12:34 PM

I think I've resolved this problem:

use "StaticResource" instead as follows

<CommandBinding Command="{StaticResource AddNewCommand}" Executed="OnAddNewEntry" />


<r:RibbonButton Command="{StaticResource AddNewCommand}" r:RibbonQuickAccessToolBar.Placement="InCustomizeMenuAndToolBar" />