TTMSFNCSearchListAppearance Class
Holds the visual appearance settings for a search list, including row banding, selection, highlighting, category, and filtered-item-count display.
API unit family: TMSFNCSearchList
Inherits from: TPersistent
Syntax
TTMSFNCSearchListAppearance = class(TPersistent)
Properties
| Name | Description |
|---|---|
| BandColorEven | Gets or sets the fill color used for even-indexed rows when Banding is True. |
| BandColorOdd | Gets or sets the fill color used for odd-indexed rows when Banding is True. |
| Banding | Controls whether rows alternate between BandColorOdd and BandColorEven fill colors. True enables banding; False fills all rows the same way. |
| CategoryColor | Gets or sets the background and border color used to draw category header rows. |
| CategoryControlFont | Controls whether category header text uses the control's own font instead of CategoryFont. True uses the control font; False uses CategoryFont. |
| CategoryFont | Gets or sets the font used to draw category header text when CategoryControlFont is False. |
| DescriptionControlFont | Controls whether item description text uses the control's own font instead of DescriptionFont. True uses the control font; False uses DescriptionFont. |
| DescriptionFont | Gets or sets the font used to draw item description text when DescriptionControlFont is False. |
| FilterCount | Gets or sets whether the filtered item count is shown next to a category header. |
| FilterCountFont | Gets or sets the font used to draw the filtered item count next to a category header. |
| FilterCountFormat | Gets or sets the format string used to render the filtered item count. Must contain a single %d placeholder for the count value. |
| HighlightColor | Gets or sets the background color used to highlight matching filter text within an item. |
| HighlightFontStyle | Gets or sets the font styles applied to matching filter text within an item. |
| HighlightTextColor | Gets or sets the text color used to highlight matching filter text within an item. |
| ItemCategoryFont | Gets or sets the font used to draw the category name appended to an item when ShowItemCategory is True. |
| ItemCategoryFormat | Gets or sets the format string used to render the category name appended to an item. Must contain a single %s placeholder for the category name. |
| SelectionColor | Gets or sets the background color used to draw the selected item. |
| SelectionTextColor | Gets or sets the text color used to draw the selected item. |
| ShowItemCategory | Controls whether the category name is appended after the highlighted filter text within an item. True shows the category name; False hides it. |
Events
| Name | Description |
|---|---|
| OnChange | Occurs when any appearance property changes, so the owning search list can repaint. |