Wijmo's menu is a versatile component that can be used as a navigation menu, value picker, split button or even a context menu. Use the Wijmo menu to save time and build better apps!
Create a Selectable Menu
Extend the ComboBox with added features like a non-editable header, an itemClicked event, and commands. Users can select items from the menu by click or by touch.
The Menu component also supports MVVM-style commanding, which requires no event handlers at all.
To use the Menu component with commands, set the Menu's command property to an object with two methods:
- canExecuteCommand: This method takes an argument that represents a parameter and returns a Boolean value indicating whether the command can be executed in the current application state.
- executeCommand: This method takes an argument that represents a parameter and executes the command.
The Menu component can be used as a simple value picker. It extends the ComboBox component, which allows you to bind variables to the component's selectedValue property as you would with a ComboBox.