Package wx.GridCtrl.Extended

Extended grid. More...


Classes

class  BaseGridModel
class  CellAttr
class  ColourSet2D
class  ColourSet3D
class  ColumnOrRow
class  ColumnOrRowCollection< T >
class  ColumnProperties
class  ColumnPropertiesCollection
class  Grid
class  GridCellAttrChangedEvent
class  GridCellAttributesEvent
class  GridCellLayoutSpecification
class  GridCellSelectionChangedEvent
class  GridCellSelectionChangingEvent
class  GridCellSelectionEvent
class  GridCellValueChange
class  GridCellValueChangedEvent
class  GridEventAffectingSingleCell
interface  IGridModel
class  RowProperties
class  RowPropertiesCollection
class  SparseGridModel

Packages

package  Renderers
 This is the namespace containing the renderers that are used by the wx.GridCtrl.Extended.Grid class.

Enumerations

enum  ColumnOrRowLayoutDescr
enum  GridCellAttrChangedEventMode
enum  GridSelectionMode

Functions

delegate object DefaultValueGenerator (Point cellCoord)
delegate void GridCellAttrChangedEventHandler (IGridModel sender, GridCellAttrChangedEvent evt)
delegate void GridCellAttributesEventHandler (IGridModel sender, GridCellAttributesEvent evt)
delegate void GridCellSelectionChangedEventHandler (object sender, GridCellSelectionChangedEvent evt)
delegate void GridCellSelectionChangingEventHandler (object sender, GridCellSelectionChangingEvent evt)
delegate void GridCellValueChangedEventHandler (IGridModel sender, GridCellValueChangedEvent evt)
delegate string ToString (object o, System.Globalization.CultureInfo ci)


Detailed Description

Extended grid.

This grid is a native .NET implementation that will be drawn into wxWidgets device contexts.


Enumeration Type Documentation

enum wx::GridCtrl::Extended::ColumnOrRowLayoutDescr

Constants defining how to layout the width of a column or the height if a row.

Enumerator:
SizeByLabel  The size (width of a column or height of a row) will be determined by the size of the label. If the label is unknown or empty, this will use label "MMMMM".
SizeByFirstCell  All cells will have the same width (if this describes the layout of columns) or height (if this describes the layout of rows). This will be computed according to the best size of the FIRST cell at 0x0. This layout option can be computed very efficiently because only the properties of the first cell have to be inspected.
SizeByFirstCellLabel  All cells will have the same width (if this describes the layout of columns) or height (if this describes the layout of rows). This will be computed according to the best size of the FIRST column's or row's label. This layout option can be computed very efficiently because only the properties of the first cell have to be inspected.
SizeByMaxCellInRowOrColumn  If layouting columns, determine the width of a column according to the largest width of the label or a column value. Layout rows accordingly.

enum wx::GridCtrl::Extended::GridCellAttrChangedEventMode

An enumeration describing the mode of a GridCellAttrChangedEvent.

Enumerator:
ColumnLabel  The display attributes of some column label attributes changed. MinimalAffectedColumn and MaximalAffectedColumn describe the affected labels. /summary>
RowLabel  The display attributes of some row label attributes changed. MinimalAffectedRow and MaximalAffectedRow describe the affected labels.
ValueCell  The display attributes of some value cell attributes changed. MinimalAffectedColumn, MaximalAffectedColumn, MinimalAffectedRow, and MaximalAffectedRow describe a square of affected value cells.

enum wx::GridCtrl::Extended::GridSelectionMode

Flags describing the selection mode in extended grids. Refer to ExtendedGrid.SelectionMode.

Enumerator:
Cell 
Row 
Column 
MultiselectCells 
MultiselectRows 
MultiselectColumns 
wxGridSelectCells 
wxGridSelectRows 
wxGridSelectColumns 


Function Documentation

delegate object wx.GridCtrl.Extended.DefaultValueGenerator ( Point  cellCoord  ) 

Instances of this delegate can be used in a SparseGridModel to create default values that will be returned by the grid model for those cells, that do not contain stored values. This delegate shall be efficient and the function shall only depend on the arguments.

Parameters:
cellCoord The coordinates of the grid cell. The X coordinate provides the column index, the Y coordinate is the row index.
Returns:
        SparseGridModel model=new SparseGridModel(100000, 100000);
        model.DefaultValueGenerator=delegate(Point cellCoord)
        {
            return cellCoord;
        };

delegate void wx.GridCtrl.Extended.GridCellAttrChangedEventHandler ( IGridModel  sender,
GridCellAttrChangedEvent  evt 
)

Type of event handlers for the grid cell attribute change event.

Parameters:
sender The grid model that changed.
evt The event.

delegate void wx.GridCtrl.Extended.GridCellAttributesEventHandler ( IGridModel  sender,
GridCellAttributesEvent  evt 
)

Handler of the GridCellAttributesEvent.

Parameters:
sender The sender of the event.
evt The event.

delegate void wx.GridCtrl.Extended.GridCellSelectionChangedEventHandler ( object  sender,
GridCellSelectionChangedEvent  evt 
)

Type of the handlers of the GridCellSelectionChangedEvent.

Parameters:
sender The sender of the event.
evt The event that shall be handled.

delegate void wx.GridCtrl.Extended.GridCellSelectionChangingEventHandler ( object  sender,
GridCellSelectionChangingEvent  evt 
)

Type of the handlers of the GridCellSelectionChangingEvent.

Parameters:
sender The sender of the event.
evt The event that shall be handled.

delegate void wx.GridCtrl.Extended.GridCellValueChangedEventHandler ( IGridModel  sender,
GridCellValueChangedEvent  evt 
)

Type of event handlers for the grid cell changed event.

Parameters:
sender The grid model that changed.
evt The event.

delegate string wx.GridCtrl.Extended.ToString ( object  o,
System.Globalization.CultureInfo  ci 
)

This is to represent an option to convert an object into a string.

Parameters:
o The object that shall be converted to a string.
ci The culture that shall be used for output.
Returns:


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads