C# Class Habanero.Faces.Win.BorderLayoutManagerWin

Manages the layout of controls in a user interface by having a component assigned a compass position. For instance, having the "east" position assigned will result in the control being placed against the right border.
Inheritance: Habanero.Faces.Base.BorderLayoutManager
显示文件 Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
AddControl ( IControlHabanero control, Position pos, bool includeSplitter ) : IControlHabanero

Add a control to the layout

BorderLayoutManagerWin ( IControlHabanero managedControl, IControlFactory controlFactory ) : System

Constructor for BorderLayoutManagerWin

Protected Methods

Method Description
SetupDockOfControl ( IControlHabanero control, Position pos ) : void

Sets how the specified control is docked within its parent

Method Details

AddControl() public method

Add a control to the layout
public AddControl ( IControlHabanero control, Position pos, bool includeSplitter ) : IControlHabanero
control IControlHabanero The control to add
pos Position The position at which to add the control
includeSplitter bool True to include a splitter between the controls
return IControlHabanero

BorderLayoutManagerWin() public method

Constructor for BorderLayoutManagerWin
public BorderLayoutManagerWin ( IControlHabanero managedControl, IControlFactory controlFactory ) : System
managedControl IControlHabanero
controlFactory IControlFactory
return System

SetupDockOfControl() protected method

Sets how the specified control is docked within its parent
protected SetupDockOfControl ( IControlHabanero control, Position pos ) : void
control IControlHabanero
pos Position
return void