Skip to content

HoverPicture

HoverPicture pairs an Image trigger with a content-only HoverPanel popup, and is the direct base class of HoverHelp, which specializes it to bind hover content from the clsHelpText business object.

Purpose

  • Renders an image that, on hover, shows a HoverPanel popup containing ContentText, giving pages an icon-driven hover-content trigger (as opposed to HoverLabel's text-label trigger).
  • Provides the Fill(String) convenience method used by consumers to set the popup's content text directly.

Context

  • Namespace: SAIF.Presentation.Web.Controls.V2.AJAX
  • Assembly/package: SAIF.Presentation.Web.Controls.AJAX.Infragistics103

Public members

Member Signature Purpose
ContentText Property ContentText() As String The content text rendered in the hover popup; both the trigger image and popup are only rendered when this is non-empty
ControlImageURL Overridable Property ControlImageURL() As String The URL of the trigger image
PopupPosition Property PopupPosition() As AjaxControlToolkit.HoverMenuPopupPosition Where the popup appears relative to the trigger image
ContentPanelWidth Property ContentPanelWidth() As Integer The width of the hover popup panel
Fill Sub Fill(inContentText As String) Sets ContentText directly from a plain string

Inherited public members

Members in this section are inherited from SAIFAJAXControlAncestor and, transitively, System.Web.UI.WebControls.CompositeControl in the .NET Framework Base Class Library. They are available on this type through inheritance.

Member Signature Purpose Origin
RootObject Protected ReadOnly Property RootObject() As Object Lazily resolves and caches the page's "Model" object for use by this control SAIFAJAXControlAncestor
IsFirefox Protected ReadOnly Property IsFirefox() As Boolean Indicates whether the requesting browser identifies itself as Firefox SAIFAJAXControlAncestor
ID Property ID As String The programmatic identifier assigned to this control instance System.Web.dll — System.Web.UI.Control
Visible Property Visible As Boolean Controls whether this control renders on the page System.Web.dll — System.Web.UI.Control
CreateChildControls Overridable Sub CreateChildControls() Builds this composite control's child control tree System.Web.dll — System.Web.UI.WebControls.CompositeControl
RenderContents Overridable Sub RenderContents(writer As HtmlTextWriter) Renders this composite control's markup to the response stream System.Web.dll — System.Web.UI.WebControls.CompositeControl

Behavioral notes

  • Delegates to SAIF.Presentation.Web.Controls.V2.Utilities.SetControlManagerEnableable(m_ControlImage, False) at layout time, an external cross-project dependency*.

Constraints and usage notes

  • Overridable: HoverHelp overrides ControlImageURL to supply a default help-icon image when unset by the host page.

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.AJAX.Infragistics103\HoverPicture.vb