views:

57

answers:

1

I'm using RibbonSplitButton of the Microsoft Ribbon for WPF and want to open its dropdown when clicked. I tried to catched the clicked button and set IsDropDownOpen=true but the dropdown open then close immediately. How can I retain the dropdown open?

Please help!

(Or show me where the correct forum to post this, thank you!)

Nam.

[Edit] Here is my demo codes to reproduce my problem - I modified the Word sample in the sample downloaded from MSDN's WPF Ribbon. My split-button is placed in the file UserControlWord.xaml and located right after the comment

I added a handler for the click event and set the property IsDropDownOpen to true expecting to open the dropdown but it doesn't - the problem appears as I posted above.

Nam.

+1  A: 

Change my demo button to this type RibbonMenuButton will fix the problem.

Nam Gi VU