Create Drop-down button behavior using ContextMenu for WPF

Create Drop-down button behavior using ContextMenu for WPF

In some scenarios you need to have a button that displays additional options upon clicking. You can accomplish this very easily by using ContextMenu and Silverlight’s powerful TwoWay Binding mechanism.