Skip to main content
Version: 4.1

AccordionPanel

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents a panel in a Accordion control.

public class AccordionPanel : Panel

Constructors

Instance member AccordionPanel()

Initializes a new instance of the AccordionPanel class.

Instance member AccordionPanel(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 member Accordion

Accordion: Returns the parent Accordion control.

Instance member Collapsed

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

Instance member ShowExpandButton

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

Instance member Text

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

Instance member Tools

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

Methods

Protected member CreateControlsInstance()

Returns: ControlCollection. A new instance of ControlCollection assigned to the control.

Static member GetAccordionPanelOfComponent(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.

Protected member OnVisibleChanged(e)

Fires the VisibleChanged event.

ParameterTypeDescription
eEventArgsA EventArgs that contains the event data.

Protected member OnWebEvent(e)

Processes the event from the client.

ParameterTypeDescription
eWisejEventArgsEvent arguments.

Protected member OnWebRender(config)

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Protected member OnWebUpdate(state)

Updates the client component using the state information.

ParameterTypeDescription
stateObjectDynamic state object.

Protected member RenderPanelProperties(config)

ParameterTypeDescription
configObject

Instance member Update()

Overridden to update the parent Accordion when in design mode.

Protected member UpdateZOrder()

Implements

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
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.