consumesCommand

Declares that the given widget consumes a command identified by the CommandString AND containing Args. Your handler is called with the arguments, then the event's propagation is stopped, so it will not be seen by the consumer's parents.

See CommandEvent for more information.

consumesCommand
(
string CommandString
WidgetType
Args...
)
(
WidgetType w
,
void delegate
(
Args
)
handler
)

Return Value

The EventListener you can use to remove the handler.

Meta