TTMSFNCDataGridIcons Class
Bitmap icons used by the grid for built-in UI elements. Assign custom bitmaps to override the default embedded icons; leave a property empty to keep the built-in default.
API unit family: TMSFNCDataGridRenderer
Inherits from: TPersistent
Syntax
TTMSFNCDataGridIcons = class(TPersistent)
class PASCALIMPLEMENTATION TTMSFNCDataGridIcons : public System::Classes::TPersistent
Remarks
Each published icon has a read-only Active* counterpart that returns the custom bitmap when it is not empty, or otherwise the built-in resource bitmap, which is loaded on first access and owned by this object. Assigning an icon copies the bitmap and repaints the grid. The grid draws icons through the Active* properties, so reading them is the reliable way to obtain the bitmap actually in use. Never free a bitmap returned by an Active* property. When the grid applies a style, the fill colour of SVG icons is recoloured to match it.
Properties
| Name | Description |
|---|---|
| ActiveCloseIcon | Returns the currently effective close icon — the user-supplied CloseIcon if assigned, otherwise the built-in default. |
| ActiveCollapseIcon | Returns the currently effective collapse icon — the user-supplied CollapseIcon if assigned, otherwise the built-in default. |
| ActiveExpandIcon | Returns the currently effective expand icon — the user-supplied ExpandIcon if assigned, otherwise the built-in default. |
| ActiveFilterActiveIcon | Returns the currently effective active-filter icon — the user-supplied FilterActiveIcon if assigned, otherwise the built-in default. |
| ActiveFilterClearIcon | Returns the currently effective clear-filter icon — the user-supplied FilterClearIcon if assigned, otherwise the built-in default. |
| ActiveFilterIcon | Returns the currently effective filter icon — the user-supplied FilterIcon if assigned, otherwise the built-in default. |
| ActiveFilterTypeIcon | Returns the currently effective filter-type icon — the user-supplied FilterTypeIcon if assigned, otherwise the built-in default. |
| ActiveFirstPageIcon | Returns the currently effective first-page icon — the user-supplied FirstPageIcon if assigned, otherwise the built-in default. |
| ActiveLastPageIcon | Returns the currently effective last-page icon — the user-supplied LastPageIcon if assigned, otherwise the built-in default. |
| ActiveNextPageIcon | Returns the currently effective next-page icon — the user-supplied NextPageIcon if assigned, otherwise the built-in default. |
| ActivePreviousPageIcon | Returns the currently effective previous-page icon — the user-supplied PreviousPageIcon if assigned, otherwise the built-in default. |
| ActiveSortAscendingIcon | Returns the currently effective ascending-sort icon — the user-supplied SortAscendingIcon if assigned, otherwise the built-in default. |
| ActiveSortDescendingIcon | Returns the currently effective descending-sort icon — the user-supplied SortDescendingIcon if assigned, otherwise the built-in default. |
| CloseIcon | Icon for the close button on popup panels (filter popup, comment popup). |
| CollapseIcon | Icon shown on the collapse button of a tree-mode node cell. |
| ExpandIcon | Icon shown on the expand button of a tree-mode node cell. |
| FilterActiveIcon | Icon displayed on the filter button when a filter is currently active for that column. |
| FilterClearIcon | Icon for the clear-filter button inside the filter popup panel. |
| FilterIcon | Icon displayed on the filter button in a fixed header cell when no filter is active. |
| FilterTypeIcon | Icon for the filter-type selector button inside the filter popup panel. |
| FirstPageIcon | Icon for the go-to-first-page button in the paging navigation bar. |
| LastPageIcon | Icon for the go-to-last-page button in the paging navigation bar. |
| NextPageIcon | Icon for the go-to-next-page button in the paging navigation bar. |
| PreviousPageIcon | Icon for the go-to-previous-page button in the paging navigation bar. |
| SortAscendingIcon | Icon for the ascending-sort button inside the filter popup panel. |
| SortDescendingIcon | Icon for the descending-sort button inside the filter popup panel. |