Silverlight Menu (Popup) Reference
The Menu exposes several properties for controlling various aspects of the Menu and its behaviour.
Properties for Liquid.Menu
Below are the available properties complete with descriptions.
| Property Name | Type | Description |
| CloseWhenOutOfFocus |
Boolean |
Gets or sets whether this menu should be hidden when it looses focus. |
Methods for Liquid.Menu
Below are the available methods, complete with parameters and descriptions.
| Method Name | Description | Parameters |
| Show() |
Shows the menu. |
|
| Hide() |
Hides the menu. |
|
| Get(String) |
Gets the menu item with the provided ID. |
ParametersReturns: MenuItem 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 |
| GetNumberOfVisibleItems() |
Gets the number of visible child items. |
Parameters |
| OnApplyTemplate() |
This is called when the template has been bound to the control. |
|
Rate this:
1 Star
2 Star
3 Star
4 Star
5 Star
11 Ratings / 3.2 Average