[]
        
(Showing Draft Content)

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.

Spread for ASP.NET spreadsheet interface displays ContextMenu Collection Editor, helping developers complete the task described in ContextMenu Collection 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.

Spread for ASP.NET ContextMenu Collection Editor displays an empty Members list and Properties pane for developers creating context menu items.

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.

Spread for ASP.NET MenuItem Collection Editor displays a menu hierarchy and Behavior properties for developers configuring a context menu item.

See Also

Adding a Context Menu