AccordionPanel

Wisej.Web.AccordionPanel

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents a panel in a Accordion control.

public class AccordionPanel : Panel

Constructors

AccordionPanel()

Initializes a new instance of the AccordionPanel class.

AccordionPanel(text)

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

Name
Type
Description

text

The text for the title of the panel.

Properties

Accordion

Accordion: Returns the parent Accordion control.

Collapsed

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

ShowExpandButton

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

Text

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

Tools

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

Methods

CreateControlsInstance()

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

GetAccordionPanelOfComponent(control)

Retrieves the panel that contains the specified Control.

Parameter
Type
Description

control

The Control to look for.

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

OnVisibleChanged(e)

Fires the VisibleChanged event.

Parameter
Type
Description

e

A EventArgs that contains the event data.

OnWebEvent(e)

Processes the event from the client.

Parameter
Type
Description

e

Event arguments.

OnWebRender(config)

Renders the client component.

Parameter
Type
Description

config

Dynamic configuration object.

OnWebUpdate(state)

Updates the client component using the state information.

Parameter
Type
Description

state

Dynamic state object.

RenderPanelProperties(config)

Parameter
Type
Description

config

Update()

Overridden to update the parent Accordion when in design mode.

UpdateZOrder()

Implements

Name
Description

Provides access to the UserData and Tag properties associated to the component implementing this interface.

Bindable components implement this interface.

Controls that support drag & drop operations implement this interface.

Provides access to common image properties across the controls that implement this interface.

All wisej components implement this interface.

All wisej controls derived from the Control class must implement this interface.

Allows an object to serialize itself.

Last updated

Was this helpful?