I am writing an application and I want to have a dropdown menu connected to a SplitButton
I have the menu added to the DropDownContent of the SplitButton witth appropriate Command Bindings.
I do have 2 issues though.
1) When I select a MenuItem, I want the DropDownContent to close. The default behaviour doesn't do this, so how can I make it happen.
2) I want some of the MenuItems to be bound to the IsChecked property. Whatever I try, I cannot build an appropriate binding.
Any help on these two issues would be greatly appreciated.
I have the menu added to the DropDownContent of the SplitButton witth appropriate Command Bindings.
I do have 2 issues though.
1) When I select a MenuItem, I want the DropDownContent to close. The default behaviour doesn't do this, so how can I make it happen.
2) I want some of the MenuItems to be bound to the IsChecked property. Whatever I try, I cannot build an appropriate binding.
Any help on these two issues would be greatly appreciated.