RecroGridRGCustomMenu Class |
Namespace: Recrovit.RecroGridFramework
public class RGCustomMenu
The RecroGridRGCustomMenu type exposes the following members.
| Name | Description | |
|---|---|---|
| RecroGridRGCustomMenu |
Initializes a new instance of the RecroGridRGCustomMenu class.
|
| Name | Description | |
|---|---|---|
| CssClass |
Gets the CSS class.
| |
| Icon |
Gets the icon.
| |
| Items |
Gets the items.
| |
| Target |
Gets the target.
| |
| Title |
Gets the title.
| |
| Type |
Gets the type.
|
| Name | Description | |
|---|---|---|
| AddDivider |
Adds the dividers.
| |
| AddItem(String, String, String, Boolean, String) |
Adds the FunctionForRec menu item.
| |
| AddItem(RecroGridRGCustomMenuMenuItemTypeEnum, String, String, String, Boolean, String) |
Adds the custom menu item.
| |
| AddItemGlobal |
Adds the global menu item.
| |
| AddSubmenu |
Adds the sub menu.
| |
| AddURL |
Adds the link menu item.
|
RGCustomMenu menu = new RGCustomMenu(); menu.AddItem("Permission", "perm"); menu.AddItemGlobal("Custom", "custom"); menu.AddDivider(); menu.AddItem("menu1", "cmd-name", icon: "icon-css"); this.RGOptions["RGO_CustomMenu"] = menu;