TdxCustomSpreadSheet.OnCustomDrawTableViewHeaderCell Event
Enables you to implement a custom draw routine for standard horizontal and vertical headers within a Table View worksheet.
Declaration
property OnCustomDrawTableViewHeaderCell: TdxSpreadSheetCustomDrawTableViewHeaderCellEvent read; write;
Remarks
This event is occurs before drawing the cells within standard horizontal and vertical worksheet headers.
The Sender
parameter specifies the Table View worksheet in which the painting operation is performed.
The ACanvas
parameter specifies the drawing surface.
The AViewInfo
parameter returns ViewInfo information required to render the processed header cell.
The AHandled
parameter specifies if built-in draw routines are executed. Passing True as the AHandled parameter prevents the default header cell painting operations, allowing you to provide a custom painter instead. Handling the OnCustomDrawTableViewHeaderCell event is the only way to customize the appearance of the standard horizontal and vertical Table View worksheet headers.