Table of Contents

Class CliRenderableComponent

Namespace
ItTiger.TigerCli.Rendering
Assembly
ItTiger.TigerCli.dll
Base class for renderable components that share layout constraints and convert to a CliGrid for output.
public abstract class CliRenderableComponent : CliLayoutComponent, ICliRenderable
Inheritance
CliRenderableComponent
Implements
Derived
Inherited Members

Methods

ToGrid()

Converts the component into a grid for measurement and rendering.
public abstract CliGrid ToGrid()

Returns

CliGrid

ToGrid(int, int)

Creates a grid with this component's shared layout settings already applied. Concrete components should call this helper from ToGrid(), then populate the returned grid with their component-specific cells.
protected CliGrid ToGrid(int columnCount, int rowCount)

Parameters

columnCount int
rowCount int

Returns

CliGrid