SubMenuItem
Constructor
Description:
Initialize the item data.
Initialize the item data.
Parameters
Parameter | Type | Description |
---|---|---|
name | String | The name will show on menu. |
subMenu | ContextMenu | The object of child ContextMenu. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | name is an empty string or contains only whitespace. |
ArgumentNullException | A non-optional argument was null |