Silverlight Main Menu Reference
The Main Menu exposes several properties for controlling various aspects of the Main Menu and its behaviour.
Properties for Liquid.MainMenu
Below are the available properties complete with descriptions.
| Property Name | Type | Description |
| Items |
ObservableCollection`1 |
Gets a collection of menu items. |
Methods for Liquid.MainMenu
Below are the available methods, complete with parameters and descriptions.
| Method Name | Description | Parameters |
| Get(String) |
Gets the menu item with the provided ID. |
ParametersReturns: BaseMenuControl with the matching ID or null if not found |
| SetEnabledStatus(String, Boolean) |
Sets the enabled state of a menu item with the provided ID. |
ParametersenabledState Enabled state |
| OnApplyTemplate() |
This is called when the template has been bound to the control. |
|
| RaiseItemSelected(Object, MenuEventArgs) |
Generates a ItemSelected event to indicate an item has been clicked. |
Parameterssender Event source object |
Rate this:
1 Star
2 Star
3 Star
4 Star
5 Star
12 Ratings / 2.9 Average