Panel Constructor | |
Constructor for data panel use method HTML
PanelToggle(String, String, String, Boolean, String, String, String, String, String, String)
or method HTML
PanelToggleGroup(ListPanel, String, Boolean, String) as list of this type.
Namespace:
SOWIWeb.Helper
Assembly:
SOWIWeb.Helper (in SOWIWeb.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax public Panel(
string pPanelName,
string pPanelTitle,
string pPanelContent,
bool pExpanded,
string pParentName = "",
string pHeadingID = "",
string pStylePanel = "panel panel-default",
string pStyleHeading = "panel-heading",
string pStyleTitle = "panel-title",
string pStyleContent = "panel-body"
)
Public Sub New (
pPanelName As String,
pPanelTitle As String,
pPanelContent As String,
pExpanded As Boolean,
Optional pParentName As String = "",
Optional pHeadingID As String = "",
Optional pStylePanel As String = "panel panel-default",
Optional pStyleHeading As String = "panel-heading",
Optional pStyleTitle As String = "panel-title",
Optional pStyleContent As String = "panel-body"
)
Parameters
- pPanelName
- Type: SystemString
panel name - pPanelTitle
- Type: SystemString
panel title - pPanelContent
- Type: SystemString
panel content text or HTML partial to string - pExpanded
- Type: SystemBoolean
panel expanded true or false - pParentName (Optional)
- Type: SystemString
when use a panel group/list then set this name/id (use for accordion panel list) - pHeadingID (Optional)
- Type: SystemString
heading ID if this parameter empty then set automatically panel name and HeadingID - pStylePanel (Optional)
- Type: SystemString
default StylePanel - pStyleHeading (Optional)
- Type: SystemString
default StylePanelHeading - pStyleTitle (Optional)
- Type: SystemString
default StylePanelTitle - pStyleContent (Optional)
- Type: SystemString
default StylePanelContent
See Also