Skip to content

SAIFPanelDesigner

SAIFPanelDesigner is a ContainerControlDesigner that supplies design-time chrome (frame caption and style) for SAIFPanel in the Visual Studio WebForms designer, so a SAIFPanel placed on a design surface shows a labeled, styled frame rather than a blank container.

Purpose

  • Improve the design-time editing experience for SAIFPanel by rendering a distinct, styled frame with a "SAIFPanel" caption around the control's editable region.

Context

  • Namespace: SAIF.Presentation.Web.Controls.V2
  • Assembly/package: Compiled into SAIF.BOF.Presentation.Web.Infragistics103*

Public members

Member Signature Purpose
AllowResize Public Overrides ReadOnly Property AllowResize As Boolean Delegates to the base ContainerControlDesigner.AllowResize (no custom override behavior beyond invoking the base implementation).
FrameCaption Public Overrides ReadOnly Property FrameCaption As String Returns the literal string "SAIFPanel", displayed as the design-time frame's caption.
FrameStyle Public Overrides ReadOnly Property FrameStyle As Style Lazily builds and returns a Style (Verdana, small font, light-blue background, black foreground) used to render the design-time frame.

Inherited public members

SAIFPanelDesigner inherits from ContainerControlDesigner (System.Web.UI.Design), a framework base class rather than a documented SAIF dependency library.

Member Signature Purpose
ActionLists Public Overridable ReadOnly Property ActionLists As DesignerActionListCollection Design-time smart-tag actions exposed in the Visual Studio designer.
Component Public ReadOnly Property Component As IComponent The design-time component instance currently being decorated.
Tag Public ReadOnly Property Tag As DesignerTag Helper object used by the designer infrastructure when rendering design-time HTML.
ViewControl Public Overridable ReadOnly Property ViewControl As Control Design-time view control used to host or render the component in the designer surface.
GetDesignTimeHtml() Public Overridable Function GetDesignTimeHtml() As String Returns the HTML markup shown on the design surface for the associated control.
Initialize(component) Public Overridable Sub Initialize(ByVal component As IComponent) Connects the designer to the associated component when design-time editing begins.

Standard ContainerControlDesigner members are not re-documented here as they are unmodified framework behavior**.

Behavioral notes

  • Design-time only; has no effect on runtime rendering or behavior of SAIFPanel.

Constraints and usage notes

  • Applies only within the Visual Studio designer (.designer.vb/.aspx design view); does not affect compiled page output.

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\SAIFPanel.vb