C# Class LayoutFarm.CustomWidgets.GridBoxRenderElement

Inheritance: CustomRenderBox
Mostra file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
BuildGrid ( int nCols, int nRows, CellSizeStyle cellSizeStyle ) : void
GridBoxRenderElement ( RootGraphic rootgfx, int w, int h ) : PixelFarm.Drawing
SetContent ( int r, int c, RenderElement re ) : void
SetContent ( int r, int c, UIElement ui ) : void

Protected Methods

Method Description
DrawBoxContent ( Canvas canvas, Rectangle updateArea ) : void

Method Details

BuildGrid() public method

public BuildGrid ( int nCols, int nRows, CellSizeStyle cellSizeStyle ) : void
nCols int
nRows int
cellSizeStyle CellSizeStyle
return void

DrawBoxContent() protected method

protected DrawBoxContent ( Canvas canvas, Rectangle updateArea ) : void
canvas PixelFarm.Drawing.Canvas
updateArea PixelFarm.Drawing.Rectangle
return void

GridBoxRenderElement() public method

public GridBoxRenderElement ( RootGraphic rootgfx, int w, int h ) : PixelFarm.Drawing
rootgfx RootGraphic
w int
h int
return PixelFarm.Drawing

SetContent() public method

public SetContent ( int r, int c, RenderElement re ) : void
r int
c int
re RenderElement
return void

SetContent() public method

public SetContent ( int r, int c, UIElement ui ) : void
r int
c int
ui LayoutFarm.UI.UIElement
return void