C# Class FlatRedBall.Winforms.Container.CollapsibleContainerStrip

显示文件 Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
mTotalHeight int

Public Methods

Method Description
AddButton ( int size ) : void
AddCollapsibleControl ( int expandedHeight = 50, string label = "Collapsible Control" ) : CollapsibleControl
AddCollapsibleControlFor ( Control control, int expandedHeight = 50, string label = "Collapsible Control" ) : CollapsibleControl
AddCollapsibleControlForReduced ( Control control, int expandedHeight = 50, string label = "Collapsible Control" ) : CollapsibleControl
CollapsibleContainerStrip ( ) : System
GetControlByLabel ( string label ) : Control

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CollapsibleContainerStrip_ControlRemoved ( object sender, ControlEventArgs e ) : void
CollapsibleContainerStrip_SizeChanged ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OnCollapseChange ( object sender, EventArgs e ) : void
UpdatePositions ( ) : void
UpdateScrollBar ( ) : void
vScrollBar1_Scroll ( object sender, ScrollEventArgs e ) : void

Method Details

AddButton() public method

public AddButton ( int size ) : void
size int
return void

AddCollapsibleControl() public method

public AddCollapsibleControl ( int expandedHeight = 50, string label = "Collapsible Control" ) : CollapsibleControl
expandedHeight int
label string
return CollapsibleControl

AddCollapsibleControlFor() public method

public AddCollapsibleControlFor ( Control control, int expandedHeight = 50, string label = "Collapsible Control" ) : CollapsibleControl
control Control
expandedHeight int
label string
return CollapsibleControl

AddCollapsibleControlForReduced() public method

public AddCollapsibleControlForReduced ( Control control, int expandedHeight = 50, string label = "Collapsible Control" ) : CollapsibleControl
control Control
expandedHeight int
label string
return CollapsibleControl

CollapsibleContainerStrip() public method

public CollapsibleContainerStrip ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetControlByLabel() public method

public GetControlByLabel ( string label ) : Control
label string
return Control

Property Details

mTotalHeight public_oe property

public int mTotalHeight
return int