DoCommand Method (commandName, itemIndex, adaptor)

Call to manually perform command.
public bool DoCommand(
	string commandName,
	int itemIndex,
	IReorderableListAdaptor adaptor
)

Parameters

commandName (String)
Name of command. This is the text shown in the context menu.
itemIndex (Int32)
Zero-based index of item which was right-clicked.
adaptor (IReorderableListAdaptor)
Reorderable list adaptor.

Return Value

A value of true if command was known; otherwise false.

Remarks

Warning message is logged to console if attempted to execute unknown command.