C# Class LayoutFarm.UI.GridLayer

Inheritance: LayoutFarm.RenderBoxes.RenderElementLayer
Mostrar archivo Open project: prepare/HTML-Renderer Class Usage Examples

Private Properties

Property Type Description
ReCalculateColumnSize void
ReCalculateContentSize void
SetLeftAndPerformArrange void

Public Methods

Method 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

Method Description
ReCalculateColumnSize ( GridColumn col ) : void
ReCalculateContentSize ( GridCell cell ) : void
SetLeftAndPerformArrange ( GridColumn col, int left ) : void

Method Details

AddColumn() public method

public AddColumn ( GridColumn col ) : void
col GridColumn
return void

AddNewColumn() public method

public AddNewColumn ( int initColumnWidth ) : void
initColumnWidth int
return void

AddNewRow() public method

public AddNewRow ( int initRowHeight ) : void
initRowHeight int
return void

AddRow() public method

public AddRow ( GridRow row ) : void
row GridRow
return void

ChangeColumnWidth() public method

public ChangeColumnWidth ( GridColumn targetGridColumn, int newWidth ) : void
targetGridColumn GridColumn
newWidth int
return void

Clear() public method

public Clear ( ) : void
return void

DrawChildContent() public method

public DrawChildContent ( Canvas canvas, Rectangle updateArea ) : void
canvas PixelFarm.Drawing.Canvas
updateArea PixelFarm.Drawing.Rectangle
return void

GetCell() public method

public GetCell ( int rowIndex, int columnIndex ) : GridCell
rowIndex int
columnIndex int
return GridCell

GetColumn() public method

public GetColumn ( int index ) : GridColumn
index int
return GridColumn

GetColumnByPosition() public method

public GetColumnByPosition ( int x ) : GridColumn
x int
return GridColumn

GetGridItemByPosition() public method

public GetGridItemByPosition ( int x, int y ) : GridCell
x int
y int
return GridCell

GetRenderElementIter() public method

public GetRenderElementIter ( ) : IEnumerable
return IEnumerable

GetRenderElementReverseIter() public method

public GetRenderElementReverseIter ( ) : IEnumerable
return IEnumerable

GetRow() public method

public GetRow ( int index ) : GridRow
index int
return GridRow

GetRowByPosition() public method

public GetRowByPosition ( int y ) : GridRow
y int
return GridRow

GridLayer() public method

public GridLayer ( RenderElement owner, int nColumns, int nRows, CellSizeStyle cellSizeStyle ) : System
owner RenderElement
nColumns int
nRows int
cellSizeStyle CellSizeStyle
return System

HitTestCore() public method

public HitTestCore ( HitChain hitChain ) : bool
hitChain LayoutFarm.RenderBoxes.HitChain
return bool

InsertColumn() public method

public InsertColumn ( int index, GridColumn col ) : void
index int
col GridColumn
return void

InsertRowAfter() public method

public InsertRowAfter ( GridRow afterThisRow, GridRow row ) : void
afterThisRow GridRow
row GridRow
return void

MoveColumnAfter() public method

public MoveColumnAfter ( GridColumn tobeMoveColumn, GridColumn afterColumn ) : void
tobeMoveColumn GridColumn
afterColumn GridColumn
return void

MoveRowAfter() public method

public MoveRowAfter ( GridRow fromRow, GridRow toRow ) : void
fromRow GridRow
toRow GridRow
return void

SetUniformGridItemSize() public method

public SetUniformGridItemSize ( int cellItemWidth, int cellItemHeight ) : void
cellItemWidth int
cellItemHeight int
return void

ToString() public method

public ToString ( ) : string
return string

TopDownReArrangeContent() public method

public TopDownReArrangeContent ( ) : void
return void

TopDownReCalculateContentSize() public method

public TopDownReCalculateContentSize ( ) : void
return void

dbug_DumpElementProps() public method

public dbug_DumpElementProps ( dbugLayoutMsgWriter writer ) : void
writer dbugLayoutMsgWriter
return void