[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TCustomGrid.TitleImageList

The list with images displayed in column titles.

Declaration

Source position: grids.pas line 1274

protected property TCustomGrid.TitleImageList : TCustomImageList
  read FTitleImageList
  write SetTitleImageList;

Description

TitleImageList is a TCustomImageList property which contains images displayed in the title area for columns on the grid. It can include images used for the ascending and descending column sort indicators when TitleStyle is set to a value other than tsNative. Use ImageIndexSortAsc and ImageIndexSortDesc to specify the positions for sort images stored in TitleImageList.

Setting a new value for the property causes the VisualChange method to be called to update column sizes and to redraw the control.

TitleImageList is used to get an image resolution with the width specified in TitleImageListWidth. The images are used (when assigned) in DrawColumnTitleImage and DrawColumnText to render the TGridColumn instances defined in the Columns collection.

Use the Title property in the TGridColumn instance to assign the ImageIndex and ImageLayout needed for the title image.

See also

TCustomGrid.Columns

  

Definitions for the columns displayed the grid.

TCustomGrid.TitleStyle

  

The drawing style used for the fixed column titles.

TCustomGrid.TitleImageListWidth

  

Stores the default width for images used in the title area for fixed cells.

TCustomGrid.DrawColumnTitleImage

  

Draws the image(s) used in the column title at the specified index in the grid.

TCustomGrid.DrawColumnText

  

Draws the text and image for a grid column title at the specified cell coordinates.

TCustomGrid.ImageIndexSortAsc

  

Ordinal position for the image used when a column is sorted in ascending order.

TCustomGrid.ImageIndexSortDesc

  

Ordinal position for the image used when a column is sorted in descending order.

TCustomGrid.VisualChange

  

Updates the grid after changes to the visual properties in the control.

TGridColumn.Title

  

Contains the attributes for the title in the fixed header for the column.

TGridColumnTitle.ImageIndex

  

Ordinal position for the image displayed in the fixed header for the column title.

TGridColumnTitle.ImageLayout

  

The layout used for any image in the column title.


Version 4.0 Generated 2025-05-03 Home