AccordionPanel
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Represents a panel in a Accordion control.
- C#
- VB.NET
public class AccordionPanel : Panel
Public Class AccordionPanel
Inherits 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 | String | 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 | 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 | EventArgs | A EventArgs that contains the event data. |
OnWebEvent(e)
Processes the event from the client.
| Parameter | Type | Description |
|---|---|---|
| e | WisejEventArgs | Event arguments. |
OnWebRender(config)
Renders the client component.
| Parameter | Type | Description |
|---|---|---|
| config | Object | Dynamic configuration object. |
OnWebUpdate(state)
Updates the client component using the state information.
| Parameter | Type | Description |
|---|---|---|
| state | Object | Dynamic state object. |
RenderPanelProperties(config)
| Parameter | Type | Description |
|---|---|---|
| config | Object |
Update()
Overridden to update the parent Accordion when in design mode.
UpdateZOrder()
Implements
| Name | Description |
|---|---|
| IUserData | Provides access to the UserData and Tag properties associated to the component implementing this interface. |
| IBindableComponent | Bindable components implement this interface. |
| IDropTarget | Controls that support drag & drop operations implement this interface. |
| IImage | Provides access to common image properties across the controls that implement this interface. |
| IWisejComponent | All wisej components implement this interface. |
| IWisejControl | All wisej controls derived from the Control class must implement this interface. |
| IWisejSerializable | Allows an object to serialize itself. |