Skip to main content
Version: 3.5

AccordionPanel

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a panel in a Accordion control.

public class AccordionPanel : Panel

Constructors​

Instance memberAccordionPanel()​

Initializes a new instance of the AccordionPanel class.

Instance memberAccordionPanel(text)​

Initializes a new instance of the AccordionPanel class and specifies the text to display as the title of the panel.

NameTypeDescription
textStringThe text for the title of the panel.

Properties​

Instance memberAccordion​

Accordion: Returns the parent Accordion control.

Instance memberCollapsed​

Boolean: Returns whether the AccordionPanel is collapsed. (Default: False)

Instance memberShowExpandButton​

Boolean: Returns or sets a value indicating that the panel can show the expand button on the title bar. (Default: True)

Instance memberText​

String: Returns or sets the text to display as the title of the AccordionPanel. (Default: "")

Instance memberTools​

ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.

Methods​

Static memberGetAccordionPanelOfComponent(control)​

Retrieves the panel that contains the specified Control.

ParameterTypeDescription
controlControlThe Control to look for.

Returns: AccordionPanel. The AccordionPanel that contains the specified Control, or null if it cannot be found.

Instance memberUpdate()​

Overridden to update the parent Accordion when in design mode.

Implements​

NameDescription
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
IImageProvides access to common image properties across the controls that implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.