All pages
Powered by GitBook
1 of 7

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

AccordionAction

Wisej.Web.AccordionAction

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Defines values representing Accordion events.

public enum AccordionAction : Enum
Public Enum AccordionAction As [Enum]

Fields

Name
Description

Used By

Name
Description

Deselected

Represents the Deselected event.

Deselecting

Represents the Deselecting event.

Selected

Represents the Selected event.

Selecting

Represents the Selecting event.

AccordionCancelEventArgs.Action

Returns a value indicating which event is occurring.

AccordionEventArgs.Action

Returns a value indicating which event is occurring.

AccordionCancelEventArgs

Wisej.Web.AccordionCancelEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Provides data for the Selecting and Deselecting events of a Accordion control.

public class AccordionCancelEventArgs : CancelEventArgs
Public Class AccordionCancelEventArgs
    Inherits CancelEventArgs

Constructors

AccordionCancelEventArgs(panel, panelIndex, cancel, action)

Initializes a new instance of the class.

Name
Type
Description

Properties

Action

: Returns a value indicating which event is occurring.

Panel

: Returns the the event is occurring for.

PanelIndex

: Returns the zero-based index of the in the collection.

Used By

Name
Description

AccordionEventHandler

Wisej.Web.AccordionEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Represents the method that will handle the Selected or Deselected event of a Accordion control.

public delegate void AccordionEventHandler(Object sender, AccordionEventArgs e)
Public Delegate Sub AccordionEventHandler(ByVal sender As [Object], ByVal e As AccordionEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

AccordionEventArgs

Wisej.Web.AccordionEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Provides data for the and events of a control.

sender

Object

The source of the event.

e

AccordionEventArgs

A AccordionEventArgs that contains the event data.

Accordion.Selected

Fired when a panel is selected.

Accordion.Deselected

Fired when a panel is deselected.

One of the values.

panel

AccordionPanel

The AccordionPanel the event is occurring for.

panelIndex

Int32

The zero-based index of panel in the Panels collection.

cancel

Boolean

true to cancel the panel change by default; otherwise, false.

AccordionCancelEventHandler

Represents the method that will handle the Selecting or Deselecting event of a Accordion control.

AccordionCancelEventArgs
AccordionAction
AccordionPanel
AccordionPanel
Int32
Panel
Panels

action

Constructors

AccordionEventArgs(panel, panelIndex, action)

Initializes a new instance of the AccordionEventArgs class.

Name
Type
Description

panel

The the event is occurring for.

panelIndex

The zero-based index of panel in the collection.

action

One of the values.

Properties

Action

AccordionAction: Returns a value indicating which event is occurring.

Panel

AccordionPanel: Returns the AccordionPanel the event is occurring for.

PanelIndex

Int32: Returns the zero-based index of the Panel in the Panels collection.

Used By

Name
Description

Represents the method that will handle the or event of a control.

Selected
Deselected
Accordion
Public Class AccordionEventArgs
    Inherits EventArgs
public class AccordionEventArgs : EventArgs
AccordionAction
AccordionAction
AccordionPanel
AccordionPanel
Int32
Panels
AccordionAction
AccordionAction
AccordionEventHandler
Selected
Deselected
Accordion

AccordionPanel

Wisej.Web.AccordionPanel

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

  • Control

    • ScrollableControl

Represents a panel in a control.

Constructors

AccordionPanel()

Initializes a new instance of the class.

AccordionPanel(text)

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

Name
Type
Description

Properties

Accordion

: Returns the parent control.

Collapsed

: Returns whether the is collapsed.

ShowExpandButton

: Returns or sets a value indicating that the panel can show the expand button on the title bar.

Text

: Returns or sets the text to display as the title of the .

Tools

: Returns the instance of associated with this control.

Methods

GetAccordionPanelOfComponent(control)

Retrieves the panel that contains the specified .

Parameter
Type
Description

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

Update()

Overridden to update the parent Accordion when in design mode.

Implements

Name
Description

text

String

The text for the tab.

control

Control

The Control to look for.

IBindableComponent

Bindable components 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.

Panel
AccordionPanel
Accordion
Public Class AccordionPanel
    Inherits Panel
AccordionPanel
AccordionPanel
Accordion
Accordion
Boolean
AccordionPanel
Boolean
String
AccordionPanel
ComponentToolCollection
ComponentToolCollection
Control
AccordionPanel
AccordionPanel
Control
public class AccordionPanel : Panel

Accordion

Wisej.Web.Accordion

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Displays collapsible set of panels for presenting information in a limited amount of space.

public class Accordion : Control, ISupportInitialize
Public Class Accordion
    Inherits Control
    Implements ISupportInitialize

Constructors

Accordion()

Initializes a new instance of the Accordion class.

Properties

BorderStyle

BorderStyle: Returns or sets the type of border that is drawn around the Accordion panel.

Collapsible

Boolean: Returns or sets a value indicating whether the Accordion control collapses when all the AccordionPanel children are collapsed.

When this property is set to false (default) one panel is always expanded.

DisplayRectangle

Rectangle: Returns the rectangle that represents the virtual display area of the control.

ImageList

ImageList: Returns or sets the images to display on the panel's title bar.

PanelCount

Int32: Returns the number of panels in the container.

Panels

PanelCollection: Returns the collection of panels in the container.

SelectedIndex

Int32: Returns or sets the index of the currently selected panel.

Throws:

  • ArgumentOutOfRangeException The value is less than -1.

SelectedOnTop

Boolean: Returns or sets a value indicating whether the selected panel is moved to the top of the Accordion container.

SelectedPanel

AccordionPanel: Returns or sets the currently selected panel.

ShowToolTips

Boolean: Returns or sets whether a panel's ToolTip is shown when the mouse passes over the panel's title.

Methods

DeselectPanel(index)

Makes the AccordionPanel following the AccordionPanel with the specified index the current panel.

Parameter
Type
Description

index

The index in the collection of the to deselect.

Throws:

  • ArgumentOutOfRangeException index is less than 0 or greater than the number of AccordionPanel controls in the Panels collection minus 1.

DeselectPanel(panel)

Makes the AccordionPanel following the specified AccordionPanel the current panel.

Parameter
Type
Description

panel

The to deselect.

Throws:

  • ArgumentNullException panel is null.

DeselectPanel(panelName)

Makes the AccordionPanel following the AccordionPanel the specified name the current panel.

Parameter
Type
Description

panelName

The of the panel to deselect.

Throws:

  • ArgumentNullException panelName is null; or panelName does not match the Name property of any AccordionPanel in the Panels collection.

GetControl(index)

Returns the AccordionPanel panel at the specified location.

Parameter
Type
Description

index

The index of the to get.

Returns: Control. The AccordionPanel at the specified location.

Throws:

  • ArgumentOutOfRangeException index is less than 0 or greater than the number of AccordionPanel controls in the Panels collection minus 1.

SelectPanel(index)

Makes the AccordionPanel with the specified index the current AccordionPanel.

Parameter
Type
Description

index

The index in the collection of the tab to select.

Throws:

  • ArgumentOutOfRangeException index is less than 0 or greater than the number of AccordionPanel controls in the Panels collection minus 1.

SelectPanel(panel)

Makes the specified AccordionPanel the current AccordionPanel.

Parameter
Type
Description

panel

The to select.

Throws:

  • ArgumentNullException panel is null.

SelectPanel(panelName)

Makes AccordionPanel with the specified name the current AccordionPanel.

Parameter
Type
Description

panelName

The of the tab to select.

Throws:

  • ArgumentNullException panelName is null; or panelName does not match the Name property of any AccordionPanel in the Panels collection.

Events

Deselected

AccordionEventHandler Fired when a panel is deselected.

Deselecting

AccordionCancelEventHandler Occurs before a panel is deselected, enabling a handler to cancel the panel change.

Selected

AccordionEventHandler Fired when a panel is selected.

SelectedIndexChanged

EventHandler Fired when the SelectedIndex property has changed.

Selecting

AccordionCancelEventHandler Occurs before a panel is selected, enabling a handler to cancel the panel change.

Implements

Name
Description

Bindable components implement this interface.

All wisej components implement this interface.

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

Allows an object to serialize itself.

Control
Accordion
AccordionPanel

AccordionCancelEventHandler

Wisej.Web.AccordionCancelEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Represents the method that will handle the Selecting or Deselecting event of a Accordion control.

public delegate void AccordionCancelEventHandler(Object sender, AccordionCancelEventArgs e)
Public Delegate Sub AccordionCancelEventHandler(ByVal sender As [Object], ByVal e As AccordionCancelEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

sender

Object

The source of the event.

e

AccordionCancelEventArgs

A AccordionCancelEventArgs that contains the event data.

Accordion.Selecting

Occurs before a panel is selected, enabling a handler to cancel the panel change.

Accordion.Deselecting

Occurs before a panel is deselected, enabling a handler to cancel the panel change.

Int32
Panels
AccordionPanel
AccordionPanel
AccordionPanel
String
Name
Int32
AccordionPanel
Int32
Panels
AccordionPanel
AccordionPanel
String
Name
IBindableComponent
IWisejComponent
IWisejControl
Control
IWisejSerializable