I have a UserControl as the content for a SplitButton's Content, which works as intended in the ribbon, but when added to the QAT falls apart. My main issue is the MultiBinding for the ribbon Button not binding correctly in the cloned object. I beleive I should be doing something in the OnCloneCreated event, but I'm not sure what to do within the actual handler, as I've tried a number of things that haven't worked.
The following link contains a .zip file with a basic example of my problem:
Alternatively the entirety of the code is included at the following pastebin, in one single text file:
I would appreciate advice on how to get the QAT version of the SplitButton to work the same as the ribbon version.
I found a small error in my test program, that each version of the popup used a different View Model, all that needs changing is in MainWindow.xaml.cs the line
should be replaced by:
private static PopupContentUCViewModel vm;
Even after chaning this the problem still persists
[Modified 6 years ago]