wx.GridCtrl.Extended.GridCellSelectionEvent Class Reference

Inheritance diagram for wx.GridCtrl.Extended.GridCellSelectionEvent:

wx.GridCtrl.Extended.GridEventAffectingSingleCell wx.GridCtrl.Extended.GridCellSelectionChangedEvent wx.GridCtrl.Extended.GridCellSelectionChangingEvent

List of all members.

Protected Member Functions

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

Properties

Point Cell [get]
Grid Control [get]
GridSelectionMode Mode [get]
bool Selected [get]


Detailed Description

Grid event on selection.

Constructor & Destructor Documentation

wx.GridCtrl.Extended.GridCellSelectionEvent.GridCellSelectionEvent ( Grid  ctrl,
GridSelectionMode  mode,
Point  cell,
bool  stateChangedFromUnselectToSelect 
) [protected]

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.


Property Documentation

Point wx.GridCtrl.Extended.GridCellSelectionEvent.Cell [get]

the coordinate of a cell describing the cells affected by the change. Depending on the selection mode, only this cell or the row containing this cell or the column of this cell changed its selection state.

Grid wx.GridCtrl.Extended.GridCellSelectionEvent.Control [get]

The control that originally sent the event.

GridSelectionMode wx.GridCtrl.Extended.GridCellSelectionEvent.Mode [get]

The selection mode of the sending grid control at the time when the selection changed.

bool wx.GridCtrl.Extended.GridCellSelectionEvent.Selected [get]

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