Class CellInfos
Namespace: FastReport.Olap.Controls
Assembly: FastCube.Mono.dll
Cell infos list.
public class CellInfos : List<CellInfo>
Inheritance
object ← List<CellInfo> ← CellInfos
Constructors
CellInfos(AxisZone)
Creates a new instance.
public CellInfos(AxisZone owner)
Parameters
owner
AxisZone
Fields
FirstCell
First cell.
public int FirstCell
Field Value
FirstLevel
First level.
public int FirstLevel
Field Value
LastCell
Last cell.
public int LastCell
Field Value
LastLevel
Last level.
public int LastLevel
Field Value
TreeLevelSize
Tree level size.
public int TreeLevelSize
Field Value
TreeLevelSpacing
Tree level spacing.
public int TreeLevelSpacing
Field Value
TreeMeasureSize
Tree measure size.
public int TreeMeasureSize
Field Value
Valid
Is valid.
public bool Valid
Field Value
Properties
Bounds
Gets entire bounds.
public Rectangle Bounds { get; }
Property Value
LastIndicesCount
Gets number of last indices.
public int LastIndicesCount { get; }
Property Value
Methods
AddCell(SliceDrawHeader)
Adds cell.
public CellInfo AddCell(SliceDrawHeader data)
Parameters
data
SliceDrawHeader
Returns
Clear()
Clears the list.
public void Clear()
FindByLocation(Point)
Finds cell by location.
public CellInfo FindByLocation(Point p)
Parameters
p
Point
Returns
FixRects(CellInfo)
Fixes cell bounds.
public void FixRects(CellInfo info)
Parameters
info
CellInfo
GetItemByLastIndex(int)
Gets item by last index.
public CellInfo GetItemByLastIndex(int index)
Parameters
index
int
Returns
GetSizeFor(CellInfo)
Gets size for cell.
public Size GetSizeFor(CellInfo info)
Parameters
info
CellInfo
Returns
GetStartLocationFor(CellInfo)
Gets start location for cell.
public Point GetStartLocationFor(CellInfo info)
Parameters
info
CellInfo
Returns
IncSize(int)
Increases size.
public void IncSize(int delta)
Parameters
delta
int