C# Class LayoutFarm.UI.GridLayer

Inheritance: LayoutFarm.RenderBoxes.RenderElementLayer
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Private Properties

Свойство Type Description
ReCalculateColumnSize void
ReCalculateContentSize void
SetLeftAndPerformArrange void

Méthodes publiques

Méthode Description
AddColumn ( GridColumn col ) : void
AddNewColumn ( int initColumnWidth ) : void
AddNewRow ( int initRowHeight ) : void
AddRow ( GridRow row ) : void
ChangeColumnWidth ( GridColumn targetGridColumn, int newWidth ) : void
Clear ( ) : void
DrawChildContent ( Canvas canvas, Rectangle updateArea ) : void
GetCell ( int rowIndex, int columnIndex ) : GridCell
GetColumn ( int index ) : GridColumn
GetColumnByPosition ( int x ) : GridColumn
GetGridItemByPosition ( int x, int y ) : GridCell
GetRenderElementIter ( ) : IEnumerable
GetRenderElementReverseIter ( ) : IEnumerable
GetRow ( int index ) : GridRow
GetRowByPosition ( int y ) : GridRow
GridLayer ( RenderElement owner, int nColumns, int nRows, CellSizeStyle cellSizeStyle ) : System
HitTestCore ( HitChain hitChain ) : bool
InsertColumn ( int index, GridColumn col ) : void
InsertRowAfter ( GridRow afterThisRow, GridRow row ) : void
MoveColumnAfter ( GridColumn tobeMoveColumn, GridColumn afterColumn ) : void
MoveRowAfter ( GridRow fromRow, GridRow toRow ) : void
SetUniformGridItemSize ( int cellItemWidth, int cellItemHeight ) : void
ToString ( ) : string
TopDownReArrangeContent ( ) : void
TopDownReCalculateContentSize ( ) : void
dbug_DumpElementProps ( dbugLayoutMsgWriter writer ) : void

Private Methods

Méthode Description
ReCalculateColumnSize ( GridColumn col ) : void
ReCalculateContentSize ( GridCell cell ) : void
SetLeftAndPerformArrange ( GridColumn col, int left ) : void

Method Details

AddColumn() public méthode

public AddColumn ( GridColumn col ) : void
col GridColumn
Résultat void

AddNewColumn() public méthode

public AddNewColumn ( int initColumnWidth ) : void
initColumnWidth int
Résultat void

AddNewRow() public méthode

public AddNewRow ( int initRowHeight ) : void
initRowHeight int
Résultat void

AddRow() public méthode

public AddRow ( GridRow row ) : void
row GridRow
Résultat void

ChangeColumnWidth() public méthode

public ChangeColumnWidth ( GridColumn targetGridColumn, int newWidth ) : void
targetGridColumn GridColumn
newWidth int
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

DrawChildContent() public méthode

public DrawChildContent ( Canvas canvas, Rectangle updateArea ) : void
canvas PixelFarm.Drawing.Canvas
updateArea PixelFarm.Drawing.Rectangle
Résultat void

GetCell() public méthode

public GetCell ( int rowIndex, int columnIndex ) : GridCell
rowIndex int
columnIndex int
Résultat GridCell

GetColumn() public méthode

public GetColumn ( int index ) : GridColumn
index int
Résultat GridColumn

GetColumnByPosition() public méthode

public GetColumnByPosition ( int x ) : GridColumn
x int
Résultat GridColumn

GetGridItemByPosition() public méthode

public GetGridItemByPosition ( int x, int y ) : GridCell
x int
y int
Résultat GridCell

GetRenderElementIter() public méthode

public GetRenderElementIter ( ) : IEnumerable
Résultat IEnumerable

GetRenderElementReverseIter() public méthode

public GetRenderElementReverseIter ( ) : IEnumerable
Résultat IEnumerable

GetRow() public méthode

public GetRow ( int index ) : GridRow
index int
Résultat GridRow

GetRowByPosition() public méthode

public GetRowByPosition ( int y ) : GridRow
y int
Résultat GridRow

GridLayer() public méthode

public GridLayer ( RenderElement owner, int nColumns, int nRows, CellSizeStyle cellSizeStyle ) : System
owner RenderElement
nColumns int
nRows int
cellSizeStyle CellSizeStyle
Résultat System

HitTestCore() public méthode

public HitTestCore ( HitChain hitChain ) : bool
hitChain LayoutFarm.RenderBoxes.HitChain
Résultat bool

InsertColumn() public méthode

public InsertColumn ( int index, GridColumn col ) : void
index int
col GridColumn
Résultat void

InsertRowAfter() public méthode

public InsertRowAfter ( GridRow afterThisRow, GridRow row ) : void
afterThisRow GridRow
row GridRow
Résultat void

MoveColumnAfter() public méthode

public MoveColumnAfter ( GridColumn tobeMoveColumn, GridColumn afterColumn ) : void
tobeMoveColumn GridColumn
afterColumn GridColumn
Résultat void

MoveRowAfter() public méthode

public MoveRowAfter ( GridRow fromRow, GridRow toRow ) : void
fromRow GridRow
toRow GridRow
Résultat void

SetUniformGridItemSize() public méthode

public SetUniformGridItemSize ( int cellItemWidth, int cellItemHeight ) : void
cellItemWidth int
cellItemHeight int
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

TopDownReArrangeContent() public méthode

public TopDownReArrangeContent ( ) : void
Résultat void

TopDownReCalculateContentSize() public méthode

public TopDownReCalculateContentSize ( ) : void
Résultat void

dbug_DumpElementProps() public méthode

public dbug_DumpElementProps ( dbugLayoutMsgWriter writer ) : void
writer dbugLayoutMsgWriter
Résultat void