Skip to content

SAIFMenu.ContextChangedEventHandler

SAIFMenu.ContextChangedEventHandler is the nested delegate signature for SAIFMenu's OnContextChanged event, letting host pages react whenever the context-value text box's content changes and access both the previous and new values in one handler call.

Purpose

  • Defines the callback shape (OldContext, NewContext) that host pages implement to detect and react to changes in the context-value text box (e.g., a claim number field) without polling ContextValue themselves.

Context

  • Namespace: SAIF.Presentation.Web.Controls.V2.Menu (nested within SAIFMenu)
  • Assembly/package: SAIF.Presentation.Web.Controls.V2.Menu (packaged within SAIF.BOF.Presentation.Web.Infragistics103)

Public members

Member Signature Purpose
Invoke Delegate Sub ContextChangedEventHandler(OldContext As String, NewContext As String) Defines the handler signature raised by SAIFMenu.OnContextChanged, supplying both the previous and updated context-box values to the subscriber.

Behavioral notes

  • Raised by SAIFMenu when the context-value text box's value changes, distinct from MenuNavigate (which fires on Enter-to-postback navigation from the same field)*.

Constraints and usage notes

  • Host pages subscribe to SAIFMenu.OnContextChanged using this delegate signature to receive both old and new context values in a single event.

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • SAIF.Presentation.Web.Controls.V2.Menu\SAIFMenu.vb