x4Trace Documentation v1.0
Loading...
Searching...
No Matches
IGraphics.Grid.ICellList Class Reference

Represents a list of cells. Row is also a cell list. More...

Public Member Functions

 ICellList (int columns, int rowHeight)
 Constructor.
 
 ICellList ()
 Constructor.
 
 ICellList (int rowHeight, List< ICell > cells)
 Constructor.
 
virtual void Add (ICell cell)
 Adds cell to cell list.
 
virtual void Insert (int index, ICell cell)
 Inserts cell at.
 
virtual void RemoveAt (int index)
 Removes cell at index.
 
virtual void Remove (ICell cell)
 Removes cell.
 
virtual void DrawRectangleTo (IGraphics.GInterface.IGraphics gr)
 Draws the merged cells.
 
virtual void DrawSelectedFrame (IGraphics.GInterface.IGraphics gr)
 Draws the selected frame.
 
virtual void SetDrawRectangle (bool draw)
 Sets the draw rectangle to all cell.
 
virtual int IndexOf (ICell cell)
 Returns the index of cell.
 
virtual void Clear ()
 Clears the list.
 
virtual void SetRowHeight (int rowHeight)
 Sets the height of row.
 
virtual void SetRowFromTextHeight ()
 Sets the row height by cells text height.
 
virtual ICellList Copy ()
 Copies the cells.
 
virtual void SetBackColor (IColor color)
 Sets back color to cells.
 
virtual void SetReadOnly (bool readOnly)
 Sets readonly attibute of all cells.
 
virtual ICell[] GetArray ()
 Returns the array of cells.
 

Protected Member Functions

void Initialize (int columns, int rowHeight)
 Initializes the list.
 

Protected Attributes

List< ICellcells
 List of cells.
 
int rowHeight = 0
 Height of row.
 
bool visible = true
 Visibility.
 
int rowindex = -1
 Index of row.
 
bool pageBreak = false
 Needs page preak.
 
bool isFixed = false
 Is the row fixed.
 

Properties

ICell this[int index] [get, set]
 Indexer of cells.
 
bool IsFixed [get, set]
 Is the row fixed.
 
int Count [get]
 Count of cells.
 
int RowHeight [get]
 Height of row.
 
bool Visible [get, set]
 Visibility of row.
 
int RowIndex [get, set]
 Index of row.
 
bool PageBreak [get, set]
 Needs pagebreak.
 

Detailed Description

Represents a list of cells. Row is also a cell list.

Constructor & Destructor Documentation

◆ ICellList() [1/2]

IGraphics.Grid.ICellList.ICellList ( int columns,
int rowHeight )

Constructor.

Parameters
columnsCount of columns.
rowHeightHeight of row.

◆ ICellList() [2/2]

IGraphics.Grid.ICellList.ICellList ( int rowHeight,
List< ICell > cells )

Constructor.

Parameters
rowHeightHeight of row.
cellsList of cells.

Member Function Documentation

◆ Add()

virtual void IGraphics.Grid.ICellList.Add ( ICell cell)
virtual

Adds cell to cell list.

Parameters
cell

◆ Copy()

virtual ICellList IGraphics.Grid.ICellList.Copy ( )
virtual

Copies the cells.

Returns
Copied cell list.

◆ DrawRectangleTo()

virtual void IGraphics.Grid.ICellList.DrawRectangleTo ( IGraphics.GInterface.IGraphics gr)
virtual

Draws the merged cells.

Parameters
grGraphics.

◆ DrawSelectedFrame()

virtual void IGraphics.Grid.ICellList.DrawSelectedFrame ( IGraphics.GInterface.IGraphics gr)
virtual

Draws the selected frame.

Parameters
grGraphics.

◆ GetArray()

virtual ICell[] IGraphics.Grid.ICellList.GetArray ( )
virtual

Returns the array of cells.

Returns
Cell array.

◆ IndexOf()

virtual int IGraphics.Grid.ICellList.IndexOf ( ICell cell)
virtual

Returns the index of cell.

Parameters
cellCell.
Returns
Index of cell.

◆ Initialize()

void IGraphics.Grid.ICellList.Initialize ( int columns,
int rowHeight )
protected

Initializes the list.

Parameters
columnsCount of columns.
rowHeightHeight of row.

◆ Insert()

virtual void IGraphics.Grid.ICellList.Insert ( int index,
ICell cell )
virtual

Inserts cell at.

Parameters
indexIndex of insert.
cellCell to insert.

◆ Remove()

virtual void IGraphics.Grid.ICellList.Remove ( ICell cell)
virtual

Removes cell.

Parameters
cellCell to remove.

◆ RemoveAt()

virtual void IGraphics.Grid.ICellList.RemoveAt ( int index)
virtual

Removes cell at index.

Parameters
indexIndex at remove.

◆ SetBackColor()

virtual void IGraphics.Grid.ICellList.SetBackColor ( IColor color)
virtual

Sets back color to cells.

Parameters
colorColor to set.

◆ SetDrawRectangle()

virtual void IGraphics.Grid.ICellList.SetDrawRectangle ( bool draw)
virtual

Sets the draw rectangle to all cell.

Parameters
drawDraws rectangle or not.

◆ SetReadOnly()

virtual void IGraphics.Grid.ICellList.SetReadOnly ( bool readOnly)
virtual

Sets readonly attibute of all cells.

Parameters
readOnlyReadonly value.

◆ SetRowHeight()

virtual void IGraphics.Grid.ICellList.SetRowHeight ( int rowHeight)
virtual

Sets the height of row.

Parameters
rowHeight

Property Documentation

◆ this[int index]

ICell IGraphics.Grid.ICellList.this[int index]
getset

Indexer of cells.

Parameters
indexCell index.
Returns
The cell.

The documentation for this class was generated from the following file: