Back to Devexpress

ASPxTreeList.HtmlCommandCellPrepared Event

aspnet-devexpress-dot-web-dot-aspxtreelist-dot-aspxtreelist-fedb0670.md

latest2.7 KB
Original Source

ASPxTreeList.HtmlCommandCellPrepared Event

Enables the settings of individual command cells to be changed.

Namespace : DevExpress.Web.ASPxTreeList

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

NuGet Package : DevExpress.Web

Declaration

csharp
public event TreeListHtmlCommandCellEventHandler HtmlCommandCellPrepared
vb
Public Event HtmlCommandCellPrepared As TreeListHtmlCommandCellEventHandler

Event Data

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

PropertyDescription
CellGets the processed command cell.
ColumnGets a command column whose cell is currently being processed.
LevelGets the nesting level of a node which contains the processed command cell.
NodeKeyGets 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

Tree List

ASPxTreeList Class

ASPxTreeList Members

DevExpress.Web.ASPxTreeList Namespace