Spread for ASP.NET 8.0 Product Documentation > Developer's Guide > Working with the Spread Designer > Understanding the Spread Designer Interface > Spread Designer Editors > ContextMenu Collection Editor |
You can use the ContextMenu Collection Editor to create menus for the row header, column header, or viewport area. You can also create menu items and set menu properties. From the Properties window, select ContextMenus to see this editor.
Use the Add button to add the type of menu (row header, column header, or viewport).
You can use the MenuItem Collection Editor to add menu items after you add a menu type.
After you add a menu item, you can specify menu properties such as visible or add submenu items with the ChildItems collection. The CommandArgument and CommandName properties are used to separate which menu item is clicked in code. The ImageUrl property is a small image displayed to the left of the menu item. Text is the title of the menu item.