Command Preview Doesn`t Work Anymore

Jan 12, 2011 at 10:08 AM

Hi there!

I have a problem dealing with Word2010-like font face changing of current selection in RichTextBox.

All worked fine until the PrevieDelegateCommand was moved to separate .dll to be with other helper stuff. Previewing/CancelPreview of Gallery command placed in combobox doesn`t fire anymore.. Can someone help on this strange issue?

Thanks in advance.

Jan 12, 2011 at 12:05 PM

Solved the issue. The problem was with the IPreviewCommand interface that was defined in that separate DLL (for some reason) with the same namespace as the original IPreviewCommand (Microsoft.Windows.Input). Now all works fine after deleting that redundant IPreviewCommand declaration.

Sorry for disturbance. I thought something is wrong with the Ribbon commanding mechanism itself.