Share via


OnItemCommand Method (List)

Called when a list item generates an event as a result of user interaction.

protected virtual void OnItemCommand(
   ListCommandEventArgs e
)

Parameters

  • e
    An object (defined by ListCommandEventArgs) that contains event data.

Remarks

The default implementation raises the ItemCommand event. Inheriting classes can override this method to perform other tasks.

See Also

Applies to: List Class