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

Classes

class  ICell
 Represents a cell of grid. More...
 
class  ICellData
 Represents a data of cell. More...
 
class  ICellList
 Represents a list of cells. Row is also a cell list. More...
 
class  IColumn
 Represents a column of grid. More...
 
class  IColumns
 
class  IGrid
 Represents a grid, operating system independent. More...
 
interface  IGridControl
 Represents an interface of input control of grid. Grid can show only controls with this interface. More...
 
class  IRows
 represents the rows of a grid. More...
 

Enumerations

enum  MergeType { None = 0 , Primary = 1 , Secondary = 2 }
 Merge type of cell.
 
enum  Navigation { Left , Rigth , Up , Down }
 Navigation of cells. Moves the current cell. More...
 
enum  CurrentCellDrawingMode { Fill , Frame }
 Drawing mode of current cell. More...
 
enum  SortingType { ASC , DESC }
 Sorting type of column.
 

Functions

delegate void EventCurrentCellChanged (ICell oldCell, ICell newCell)
 Delegate of current cell changed.
 
delegate void EventCellDataChanged (ICell cell, string oldValue, string newValue)
 Delegate of data change of cell.
 
delegate void EventColumnClick (IColumn column)
 Delegate of column click event.
 
delegate void EventRowDeleting (ICellList cells)
 Delegate of row deleting.
 
delegate void EventRowAdded (ICellList cells)
 Delegate of row added.
 
delegate void EventRowAdding (ICellList cells, ref bool can)
 Delegate of adding row.
 
delegate void EventCellMouseDown (ICell Cell)
 Delegate of mouse down of cell.
 
delegate void KeyDownEvent (object sender, int key, bool down)
 Key down event.
 
delegate void VerticalScrollChanged (int val)
 Delegate of vertical scroll change.
 
delegate void HorizontalScrollChanged (int val)
 Delegate of vertical scroll change.
 
delegate void RefreshRequest (IGrid grid)
 Delegate of refresh request.
 
delegate void DrawingAreaChanged (IGrid grid)
 Delegate of drawing area changed.
 
delegate void CursorChanged (IGraphics.Cursor cursor)
 Delegate of cursor changed.
 
delegate void AddControlEvt (IGridControl control)
 Delagate of add control event.
 
delegate void RemoveControlEvt (IGridControl control)
 Delegate of remove control event.
 
delegate void IGCFocusLeave (IGridControl control)
 delegate of leave of focus event.
 
delegate void IGCKeyDown (IGridControl control, int key)
 Delegate of key down event.
 
delegate void IGCKeyUp (IGridControl control, int key)
 Delegate of key up event.
 
delegate void IGCScroll (IGridControl control, int val)
 Delegate of scroll event.
 
delegate void IGCShow (IGridControl control)
 Delegate of show event.
 
delegate void IGCHide (IGridControl control, int val)
 Delegate of hide event.
 

Enumeration Type Documentation

◆ CurrentCellDrawingMode

Drawing mode of current cell.

Enumerator
Fill 

Fill the background.

Frame 

Draw a frame.

◆ Navigation

Navigation of cells. Moves the current cell.

Enumerator
Left 

Moves the current cell left.

Rigth 

Moves the current cell right.

Up 

Moves the current cell up.

Down 

Moves the current cell down.

Function Documentation

◆ AddControlEvt()

delegate void IGraphics.Grid.AddControlEvt ( IGridControl control)

Delagate of add control event.

Parameters
controlThe control.

◆ CursorChanged()

delegate void IGraphics.Grid.CursorChanged ( IGraphics.Cursor cursor)

Delegate of cursor changed.

Parameters
cursorThe cursor.

◆ DrawingAreaChanged()

delegate void IGraphics.Grid.DrawingAreaChanged ( IGrid grid)

Delegate of drawing area changed.

Parameters
gridGrid of area.

◆ EventCellDataChanged()

delegate void IGraphics.Grid.EventCellDataChanged ( ICell cell,
string oldValue,
string newValue )

Delegate of data change of cell.

Parameters
cellThe cell.
oldValueOld value.
newValueNew value.

◆ EventCellMouseDown()

delegate void IGraphics.Grid.EventCellMouseDown ( ICell Cell)

Delegate of mouse down of cell.

Parameters
CellCell of mouse down event.

◆ EventColumnClick()

delegate void IGraphics.Grid.EventColumnClick ( IColumn column)

Delegate of column click event.

Parameters
columnThe column.

◆ EventCurrentCellChanged()

delegate void IGraphics.Grid.EventCurrentCellChanged ( ICell oldCell,
ICell newCell )

Delegate of current cell changed.

Parameters
oldCellOld cell.
newCellNew cell.

◆ EventRowAdded()

delegate void IGraphics.Grid.EventRowAdded ( ICellList cells)

Delegate of row added.

Parameters
cellsAdded row.

◆ EventRowAdding()

delegate void IGraphics.Grid.EventRowAdding ( ICellList cells,
ref bool can )

Delegate of adding row.

Parameters
cellsRow to add.
canAdding is enabled. If you set false the adding will be cancelled.

◆ EventRowDeleting()

delegate void IGraphics.Grid.EventRowDeleting ( ICellList cells)

Delegate of row deleting.

Parameters
cellsThe row to delete.

◆ HorizontalScrollChanged()

delegate void IGraphics.Grid.HorizontalScrollChanged ( int val)

Delegate of vertical scroll change.

Parameters
valValue of scroll.

◆ IGCFocusLeave()

delegate void IGraphics.Grid.IGCFocusLeave ( IGridControl control)

delegate of leave of focus event.

Parameters
controlThe control.

◆ IGCHide()

delegate void IGraphics.Grid.IGCHide ( IGridControl control,
int val )

Delegate of hide event.

Parameters
controlThe control.
valValue.

◆ IGCKeyDown()

delegate void IGraphics.Grid.IGCKeyDown ( IGridControl control,
int key )

Delegate of key down event.

Parameters
controlThe control.
keyKey code.

◆ IGCKeyUp()

delegate void IGraphics.Grid.IGCKeyUp ( IGridControl control,
int key )

Delegate of key up event.

Parameters
controlThe control.
keyKey code.

◆ IGCScroll()

delegate void IGraphics.Grid.IGCScroll ( IGridControl control,
int val )

Delegate of scroll event.

Parameters
controlThe control.
valThe value of scroll.

◆ IGCShow()

delegate void IGraphics.Grid.IGCShow ( IGridControl control)

Delegate of show event.

Parameters
controlThe control.

◆ KeyDownEvent()

delegate void IGraphics.Grid.KeyDownEvent ( object sender,
int key,
bool down )

Key down event.

Parameters
senderSender.
keyKey value.
downTrue, when down.

◆ RefreshRequest()

delegate void IGraphics.Grid.RefreshRequest ( IGrid grid)

Delegate of refresh request.

Parameters
gridGrid of request.

◆ RemoveControlEvt()

delegate void IGraphics.Grid.RemoveControlEvt ( IGridControl control)

Delegate of remove control event.

Parameters
controlTe conteol.

◆ VerticalScrollChanged()

delegate void IGraphics.Grid.VerticalScrollChanged ( int val)

Delegate of vertical scroll change.

Parameters
valValue of scroll.