dbicList Send comments on this topic.
BeforeCellTextDisplay Event
See Also 
dbicBase Assembly > Dbi.WinControl Namespace > DbiListControl Class : BeforeCellTextDisplay Event

Event fires before the text is drawn in each cell.

Syntax

Visual Basic (Declaration) 
Public Event BeforeCellTextDisplay As DbiListControl.EventBeforeCellTextDisplayHandler
C# 
public event DbiListControl.EventBeforeCellTextDisplayHandler BeforeCellTextDisplay

Event Data

The event handler receives an argument of type BeforeCellTextDisplayEventArgs containing data related to this event. The following BeforeCellTextDisplayEventArgs properties provide information specific to this event.

PropertyDescription
CellFormat The dbiCellFormat that was applied to the cell that contains the text.
CellText The text that will be displayed in the cell
ColumnIndex The zero-based index of the column where the cell exists.
ColumnItem The dbiColumnItem where the cell exists.
Font The font that will be used to drawn the cell's text.
NodeItem The dbiNodeItem that contains the cell.
NodeLevel Returns the zero-based level within the nested structure that the node containing the cell exists.
TextAlignment Determines the horizontal/vertical alignment of the text within the cell.
TextColor Determines the color of the text in the cell.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also