Skip to content

SAIFMenuTop.ToolBarButton

SAIFMenuTop.ToolBarButton enumerates the logical toolbar actions that SAIFMenuTop can render. Each toolbar icon maps to exactly one ToolBarButton value (BR-MENU-075), and the value is carried by the ToolbarClick event so the hosting page can dispatch to the appropriate action without the control performing it itself. Toolbar icons render in fixed groups, with a pipe separator image following the Insert/Save/Delete group (BR-MENU-069, BR-MENU-070).

Purpose

  • Identify which toolbar action was clicked when SAIFMenuTop.ToolbarClick fires.
  • Provide a stable, closed set of toolbar actions that both SAIFMenuTop and hosting pages agree on.

Context

  • Namespace: SAIF.Presentation.Web.Controls.V2.Menu
  • Assembly/package: SAIF.Presentation.Web.Controls.V2.Menu (shipped merged into SAIF.Presentation.Web.Infragistics111.dll via ILMerge)

Public members

Member Signature Purpose
Insert Insert The user clicked the Insert icon.
Save Save The user clicked the Save icon.
Delete Delete The user clicked the Delete icon.
Edit Edit The user clicked the Edit icon.
Cancel Cancel The user clicked the Cancel icon.
Submit Submit The user clicked the Submit icon.
Print Print The user clicked the Print icon.
Preview Preview The user clicked the Preview icon.
Email Email The user clicked the Email icon.
Download Download The user clicked the Download icon.
Calculate Calculate The user clicked the Calculate icon.
Help Help The user clicked the Help icon; this also raises MenuNavigate in addition to ToolbarClick (BR-MENU-076).
PrefsSet PrefsSet The user clicked the "Set as preference" icon.
PrefsClear PrefsClear The user clicked the "Clear preference" icon.

Behavioral notes

  • SAIFMenuTop does not re-check the button's visibility or enabled state when handling a click; the ToolBarButton value is dispatched as-is (BR-MENU-077).

Constraints and usage notes

  • Hosting pages must handle every ToolBarButton value they enable on their toolbar configuration; SAIFMenuTop does not provide default behaviour for any value.*

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts.

Sources

  • SAIF.Presentation.Web.Controls.V2.Menu/SAIFMenuTop.vb