Glossary Item Box
NavBar control has some server-side API functions to add or remove a item or group.
| Function | Description |
| AddGroup(string label) | Creates and adds the group to Groups collection. Returns added group. |
| AddGroup(string label, string image) | |
| AddItem(NavBarGroup group, string label) | Creates and adds the item to the group. Returns added item or null. |
| AddItem(NavBarGroup group, string label, string image) | |
| AddItem(NavBarGroup group, string label, string image, string href) | |
| AddItem(NavBarGroup group, string label, string image, string href, string hrefTarget) | |
| AddItem(string groupLabel, string label) | |
| AddItem(string groupLabel, string label, string image) | |
| AddItem(string groupLabel, string label, string image, string href) | |
| AddItem(string groupLabel, string label, string image, string href, string hrefTarget) |
| Function | Description |
| RemoveGroup(string label) | Removes the group with label from Groups collection. |
| RemoveGroup(NavBarGroup group) | Removes the group from Groups collection. |
| RemoveItem(NavBarGroup group, string label) | Finds item with label in the group and deletes it. |
| RemoveItem(string groupLabel, string label) | Finds item with label in the group with label groupLabel and deletes it. |
| Function | Description |
| FindGroupByLabel(string label) | Finds the group by group label text. Returns founded group or null. |
| FindItemByLabel(string label) | Finds the first matching item by item label text. Returns founded item or null. |
| FindItemByLabel(string label, NavBarGroup group) | Finds the first matching item by item label text in given group. Returns founded item or null. |
| See Also |
Controls: NavBar | Nesting controls
Client-side API: Client side API