---
title: SAIFPanel
summary: API reference for SAIFPanel.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-08-17
library: SAIF.Presentation.Web.Controls.V2
reference_type: package
---

# SAIFPanel

A collapsible, titled panel whose expand/collapse state is tracked in a hidden field so it survives postback, giving pages a reusable collapsible-section building block [BR-V2-051](../../business-rules.md#br-v2-051-panel-state-survives-postback).

## Purpose
- Renders a fixed header/hidden-state/content structure with a dedicated CSS class and script on every instance [BR-V2-047](../../business-rules.md#br-v2-047-every-saifpanel-carries-a-fixed-css-class-and-script), [BR-V2-048](../../business-rules.md#br-v2-048-panel-structure-is-fixed).
- Hides content via inline style rather than by not rendering it, when collapsed [BR-V2-049](../../business-rules.md#br-v2-049-collapsed-state-hides-content-via-inline-style).
- Persists panel state across postback through the hidden-field value [BR-V2-051](../../business-rules.md#br-v2-051-panel-state-survives-postback).

## Context
- Namespace: `SAIF.Presentation.Web.Controls.V2`
- Assembly/package: `SAIF.Presentation.Web.Controls.V2` (packaged in `SAIF.BOF.Presentation.Web.Infragistics111.nuspec`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| PanelState | `Public Property PanelState As PanelState` | Current expanded/collapsed state; read from and written to the hidden posted field [BR-V2-051](../../business-rules.md#br-v2-051-panel-state-survives-postback). |
| CreateChildControls | `Protected Overrides Sub CreateChildControls()` | Builds the header, hidden state field, and content panel markup [BR-V2-048](../../business-rules.md#br-v2-048-panel-structure-is-fixed). |
| LoadPostData | `Protected Function LoadPostData(key As String, values As NameValueCollection) As Boolean` | Reads the posted hidden-field value back into `PanelState`. |

## Sources
- `SAIF.Presentation.Web.Controls.V2/SAIFPanel.vb`
