C# 클래스 Habanero.Faces.Base.ColumnLayoutManager

This allows you to add controls to a layout where the controls will be added to the columns from left to right until the number of columns is exceeded. When this happens the control will be added on the next row. The row height is determined by the heighest control in the row. All controls added will have an identical width (width = managed control width - borders size)
상속: LayoutManager
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

공개 메소드들

메소드 설명
AddControl ( IControlHabanero control ) : IControlHabanero

Add a control to those being managed in the layout

ColumnLayoutManager ( IControlHabanero managedControl, IControlFactory controlFactory ) : System

Constructor to initialise a new layout manager

RemoveControl ( IControlHabanero control ) : IControlHabanero

Removes a control from layout manager.

보호된 메소드들

메소드 설명
RefreshControlPositions ( ) : void

Updates the layout and appearance of the managed controls

메소드 상세

AddControl() 공개 메소드

Add a control to those being managed in the layout
public AddControl ( IControlHabanero control ) : IControlHabanero
control IControlHabanero The control to add
리턴 IControlHabanero

ColumnLayoutManager() 공개 메소드

Constructor to initialise a new layout manager
public ColumnLayoutManager ( IControlHabanero managedControl, IControlFactory controlFactory ) : System
managedControl IControlHabanero The control to manage
controlFactory IControlFactory The control factory used by the layout manager to create controls
리턴 System

RefreshControlPositions() 보호된 메소드

Updates the layout and appearance of the managed controls
protected RefreshControlPositions ( ) : void
리턴 void

RemoveControl() 공개 메소드

Removes a control from layout manager.
public RemoveControl ( IControlHabanero control ) : IControlHabanero
control IControlHabanero The Control to be removed.
리턴 IControlHabanero