Table of Contents

TTMSFNCNavigationPanel Class

Displays a navigation panel with selectable panels, compact mode, overflow buttons, splitter support, and customizable drawing events.

API unit family: TMSFNCNavigationPanel Inherits from: TTMSFNCCustomNavigationPanel

Syntax

TTMSFNCNavigationPanel = class(TTMSFNCCustomNavigationPanel)

Properties

Name Description
ActivePanelIndex Gets or sets the active panel index. (inherited from TTMSFNCCustomNavigationPanel)
BitmapContainer Gets or sets the bitmap container used to resolve item images. (inherited from TTMSFNCCustomNavigationPanel)
ButtonsAppearance Gets or sets the appearance settings for navigation buttons. (inherited from TTMSFNCCustomNavigationPanel)
CompactMode Controls whether the panel is displayed in compact mode. True uses compact layout; False uses normal layout. (inherited from TTMSFNCCustomNavigationPanel)
CompactModeSize Gets or sets the width used while compact mode is active. (inherited from TTMSFNCCustomNavigationPanel)
GlobalFont Gets or sets the global font behavior used by the navigation panel. (inherited from TTMSFNCCustomNavigationPanel)
ItemsAppearance Gets or sets the appearance settings for navigation items. (inherited from TTMSFNCCustomNavigationPanel)
MaxButtonCount Gets or sets the maximum number of button-style items displayed in the button area. (inherited from TTMSFNCCustomNavigationPanel)
MaxItemCount Gets or sets the maximum number of items displayed in the item area. (inherited from TTMSFNCCustomNavigationPanel)
Mode Gets or sets the navigation panel display mode. (inherited from TTMSFNCCustomNavigationPanel)
PanelContainers Gets the content container for a panel item. (inherited from TTMSFNCCustomNavigationPanel)
Panels Gets or sets the collection of navigation panel items. (inherited from TTMSFNCCustomNavigationPanel)
ShowCompactModeButton Controls whether the compact-mode toggle button is shown. True shows the button; False hides it. (inherited from TTMSFNCCustomNavigationPanel)
ShowFooter Controls whether the footer area is shown. True shows the footer; False hides it. (inherited from TTMSFNCCustomNavigationPanel)
ShowHeader Controls whether the header area is shown. True shows the header; False hides it. (inherited from TTMSFNCCustomNavigationPanel)
Splitter Gets or sets the splitter settings used between item and button areas. (inherited from TTMSFNCCustomNavigationPanel)

Methods

Name Description
AddPanel Adds a panel item to the end of the navigation panel. (inherited from TTMSFNCCustomNavigationPanel)
BeginUpdate Begins a batched update of the navigation panel. (inherited from TTMSFNCCustomNavigationPanel)
Draw Draws the navigation panel. (inherited from TTMSFNCCustomNavigationPanel)
EndUpdate Ends a batched update of the navigation panel and refreshes pending changes. (inherited from TTMSFNCCustomNavigationPanel)
InitSample Populates the navigation panel with sample items.
InsertPanel Inserts a panel item at a specific index. (inherited from TTMSFNCCustomNavigationPanel)
MovePanel Moves a panel item from one index to another. (inherited from TTMSFNCCustomNavigationPanel)
RemovePanel Removes a panel item. (inherited from TTMSFNCCustomNavigationPanel)
SelectNextPanel Selects the next panel item. (inherited from TTMSFNCCustomNavigationPanel)
SelectPanel Selects a panel item by index. (inherited from TTMSFNCCustomNavigationPanel)
SelectPreviousPanel Selects the previous panel item. (inherited from TTMSFNCCustomNavigationPanel)
SplitItems Splits the navigation items so a specific number remains in the item area. (inherited from TTMSFNCCustomNavigationPanel)

Events

Name Description
OnAfterDrawButton Occurs after a button-style item is drawn. (inherited from TTMSFNCCustomNavigationPanel)
OnAfterDrawCompactItem Occurs after a compact navigation item is drawn. (inherited from TTMSFNCCustomNavigationPanel)
OnAfterDrawItem Occurs after a navigation item is drawn. (inherited from TTMSFNCCustomNavigationPanel)
OnAfterDrawItemBadge Occurs after an item badge is drawn. (inherited from TTMSFNCCustomNavigationPanel)
OnAfterDrawOptionsButton Occurs after the options button is drawn. (inherited from TTMSFNCCustomNavigationPanel)
OnAfterDrawSplitter Occurs after the splitter is drawn. (inherited from TTMSFNCCustomNavigationPanel)
OnBeforeDrawButton Occurs before a button-style item is drawn. (inherited from TTMSFNCCustomNavigationPanel)
OnBeforeDrawCompactItem Occurs before a compact navigation item is drawn. (inherited from TTMSFNCCustomNavigationPanel)
OnBeforeDrawItem Occurs before a navigation item is drawn. (inherited from TTMSFNCCustomNavigationPanel)
OnBeforeDrawItemBadge Occurs before an item badge is drawn. (inherited from TTMSFNCCustomNavigationPanel)
OnBeforeDrawOptionsButton Occurs before the options button is drawn. (inherited from TTMSFNCCustomNavigationPanel)
OnBeforeDrawSplitter Occurs before the splitter is drawn. (inherited from TTMSFNCCustomNavigationPanel)
OnCompactItemClick Occurs when a compact navigation item is clicked. (inherited from TTMSFNCCustomNavigationPanel)
OnCustomizeContextMenu Occurs before the overflow context menu is shown so it can be customized. (inherited from TTMSFNCCustomNavigationPanel)
OnItemAnchorClick Occurs when a link inside a navigation item is clicked. (inherited from TTMSFNCCustomNavigationPanel)
OnItemClick Occurs when a navigation item is clicked. (inherited from TTMSFNCCustomNavigationPanel)
OnSplitterMove Occurs after the splitter position changes. (inherited from TTMSFNCCustomNavigationPanel)

Used by