Skip to main content
A newer version of this page is available. .
Tab

ASPxTitleIndex.ItemCommand Event

Fires when a control contained within a templated data item raises the Command event.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public event TitleIndexItemCommandEventHandler ItemCommand

Event Data

The ItemCommand event's data class is TitleIndexItemCommandEventArgs. The following properties provide information specific to this event:

Property Description
CommandArgument Gets the argument for the command. Inherited from CommandEventArgs.
CommandName Gets the name of the command. Inherited from CommandEventArgs.
CommandSource Gets an object representing a control which forced a postback.
Item Gets an item object related to the event.

Remarks

An ASPxTitleIndex control allows the contents of its data items to be customized through defining templates. A template for data items can be specified using the ASPxTitleIndex.ItemTemplate property. A template is a set of HTML elements and controls which constitute a data item’s layout.

The ItemCommand event is raised when the control contained within a templated data item raises the Command event. The processed item is identified by the TitleIndexItemCommandEventArgs.Item property.

See Also