ASPxTitleIndex.IndexPanelItemCommand Event
Fires when a control contained within a templated index panel item raises the Command event.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Event Data
The IndexPanelItemCommand event's data class is IndexPanelItemCommandEventArgs. 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. |
GroupValue | Gets the value of an index panel item object related to the event. |
Remarks
An ASPxTitleIndex control allows the contents of its index panel items to be customized through defining templates. A template for index panel items can be specified using the ASPxTitleIndex.IndexPanelItemTemplate property. A template is a set of HTML elements and controls which constitute an index panel item’s layout.
The IndexPanelItemCommand event is raised when the control contained within a templated index panel item raises the Command event. The processed item can be identified by the IndexPanelItemCommandEventArgs.GroupValue property.