insert
Description:
Inserts item
into the this at the given position.
If position
is negative, or is larger than the number of items in the
ContextMenu, the item is added on to the end of the
this. The first position is 0.
Parameters:
this | |
item |
the ContextMenuItem to add |
position |
the position to insert the item |