C# Class Habanero.Faces.Win.CollapsiblePanelGroupControlWin

An interface for a Group on ICollapsiblePanels. The collapsible Panels are placed one above the other and when the one opens the panels below are moved down. The Interface works simply, you add the controls (AddControl) that will be displayed on an ICollapsiblePanel on this control in the order that you want them displayed. This control will then create the ICollapsiblePanel with the appropriate heading text and the appropriate Expanded (ICollapsiblePanel.ExpandedHeight and Collapsed height.
Inheritance: PanelWin, ICollapsiblePanelGroupControl
Show file Open project: Chillisoft/habanero.faces

Public Methods

Method Description
AddControl ( ICollapsiblePanel collapsiblePanel ) : ICollapsiblePanel

Adds an ICollapsiblePanel to this control. The collapsiblePanel is added to this ICollapsiblePanelGroupControl

AddControl ( IControlHabanero contentControl, string headingText, int minimumControlHeight ) : ICollapsiblePanel

Adds an IControlHabanero to this control. The contentControl is wrapped in an ICollapsiblePanel control.

CollapsiblePanelGroupControlWin ( ) : System

Constructs the CollapsiblePanelGroupControlWin

Private Methods

Method Description
FireItemSelected ( ICollapsiblePanel collapsiblePanel ) : void
FireItemSelectedIndexChanged ( ICollapsiblePanel collapsiblePanel ) : void
IGroupControl ( IControlHabanero contentControl, string headingText, int minimumControlHeight, int minimumControlWidth ) : IControlHabanero

Adds an IControlHabanero to this control. The contentControl is wrapped in the appropriate Child Control Type.

Method Details

AddControl() public method

Adds an ICollapsiblePanel to this control. The collapsiblePanel is added to this ICollapsiblePanelGroupControl
public AddControl ( ICollapsiblePanel collapsiblePanel ) : ICollapsiblePanel
collapsiblePanel ICollapsiblePanel
return ICollapsiblePanel

AddControl() public method

Adds an IControlHabanero to this control. The contentControl is wrapped in an ICollapsiblePanel control.
public AddControl ( IControlHabanero contentControl, string headingText, int minimumControlHeight ) : ICollapsiblePanel
contentControl IControlHabanero
headingText string
minimumControlHeight int The minimum height that the can be. /// This height along with the .Height are give the /// that the will be when it is /// expanded
return ICollapsiblePanel

CollapsiblePanelGroupControlWin() public method

Constructs the CollapsiblePanelGroupControlWin
public CollapsiblePanelGroupControlWin ( ) : System
return System