Table of Contents

TTMSFNCMenuItemAppearance Class

Visual appearance settings for a menu item, including fills, fonts, and spacing for normal, selected, and disabled states.

API unit family: TMSFNCPopupMenu Inherits from: TPersistent

Syntax

TTMSFNCMenuItemAppearance = class(TPersistent)

Properties

Name Description
AccessoryWidth Pixel width of the accessory area (sub-menu arrow or check mark). Default is 12.
BitmapMargins Margins around the item bitmap.
BitmapSize Pixel size of the item bitmap; -1 uses the row height. Default is -1.
DisabledFill Background fill for the item when it is disabled.
DisabledFontColor Font color applied to the item text when disabled. Default is gray.
DisabledNoteFontColor Font color for the note text when the item is disabled; gcNull inherits from NoteFont.
Fill Background fill for the item in the normal state.
Font Font for the item text in the normal state.
ItemHeight Fixed row height in pixels for this item; -1 uses the menu default. Default is -1.
ItemMargins Outer margins around each item row.
ItemRounding Corner rounding radius for the item background. Default is 2.
LeftTextIndent Left indent in pixels before the item text, leaving room for the bitmap column. Default is 24.
NoteFont Font for the item note text in the normal state.
SelectedFill Background fill for the item when it is selected.
SelectedFontColor Font color applied to the item text when selected; gcNull uses the default font color.
SelectedNoteFontColor Font color for the note text when the item is selected; gcNull inherits from NoteFont.
Separator Stroke drawn as a separator line for separator-type items.
TextHorizontalSpacing Horizontal spacing in pixels between the bitmap and the item text. Default is 2.