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

ASPxTreeList.HtmlCommandCellPrepared Event

Enables the settings of individual command cells to be changed.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v18.2.dll

Declaration

public event TreeListHtmlCommandCellEventHandler HtmlCommandCellPrepared

Event Data

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

Property Description
Cell Gets the processed command cell.
Column Gets a command column whose cell is currently being processed.
Level Gets the nesting level of a node which contains the processed command cell.
NodeKey Gets an object that uniquely identifies the node.

Remarks

The HtmlCommandCellPrepared event is raised for each cell within command columns when the corresponding table cell has been created. You can handle this event, for example, to change the style settings of individual command cells.

The processed cell is identified by the event parameter’s TreeListHtmlCommandCellEventArgs.Cell property. The column and node where the processed cell resides can be obtained via the TreeListHtmlCommandCellEventArgs.Column and TreeListHtmlCommandCellEventArgs.NodeKey properties.

See Also