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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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