wx.GridCtrl.Extended.GridCellSelectionChangedEvent Class Reference

Inheritance diagram for wx.GridCtrl.Extended.GridCellSelectionChangedEvent:

wx.GridCtrl.Extended.GridCellSelectionEvent wx.GridCtrl.Extended.GridEventAffectingSingleCell

List of all members.

Public Member Functions

 GridCellSelectionChangedEvent (Grid ctrl, GridSelectionMode mode, Point cell, bool stateChangedFromUnselectToSelect)


Detailed Description

An event that will be fired if the selection of cells changed in a Grid. The cells becoming selected or unselected are described by the coordinates of a single cell. In cell selection mode (single- or multi-select), only the selection of this cell changed. In row selection mode (single- or multi-select), the row containing this cell changed its state, in column selection mode all cells in the column changed. If this event refers to a selection (the cells were unselected but are selected now), this cell is the new selected cell, that can open its editor.

Constructor & Destructor Documentation

wx.GridCtrl.Extended.GridCellSelectionChangedEvent.GridCellSelectionChangedEvent ( Grid  ctrl,
GridSelectionMode  mode,
Point  cell,
bool  stateChangedFromUnselectToSelect 
)

Creates an instance.

Parameters:
ctrl The control that originally sent the event.
mode The selection mode of the sending grid control at the time when the selection changed.
cell The cell describing the region in the grid that changed its state w.r.t. selection. In cell selection mode (single- or multi-select), only the selection of this cell changed. In row selection mode (single- or multi-select), the row containing this cell changed its state, in column selection mode all cells in the column changed. If this event refers to a selection (the cells were unselected but are selected now), this cell is the new selected cell, that can open its editor.
stateChangedFromUnselectToSelect True if the cells changed their state from unselected to selected. False if the cells became unselected.


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