ContextMenu.AddItem
Description:
Add an item to the Context Menu.
Add an item to the Context Menu.
Remarks:
Use this method to add a specific type of MenuItem object to context menu.
Use this method to add a specific type of MenuItem object to context menu.
public void AddItem(
MenuItem menuItem
)
-
menuItem
-
A non-optional argument was null