wx.GridCtrl.Editors.GridCellDateTimeEditor Class Reference

Inheritance diagram for wx.GridCtrl.Editors.GridCellDateTimeEditor:

wx.GridCtrl.Editors.GridCellEditor wx.GridCtrl.GridCellWorker wx.Object

List of all members.

Public Member Functions

override void BeginEdit (int row, int col, Grid grid)
override GridCellEditor Clone ()
override void Create (Window parent, int id, EvtHandler evtHandler)
override bool EndEdit (int row, int col, Grid grid)
 GridCellDateTimeEditor (string textMask, DateTime min, DateTime max, bool allowNull)
override void Reset ()
override void SetSize (System.Drawing.Rectangle rect)
override void StartingKey (KeyEvent e)

Properties

DateTimeEdit InputCtrl [get]


Detailed Description

Input of DateTime values using the wx.MaskedEdit.DateTimeCtrl. This will expect the grid model to store the natural string forms of System.DateTime values.

Refer to wx.GridCtrl.Renderers.GridCellDateTimeMaskRenderer for a compatible renderer.


Constructor & Destructor Documentation

wx.GridCtrl.Editors.GridCellDateTimeEditor.GridCellDateTimeEditor ( string  textMask,
DateTime  min,
DateTime  max,
bool  allowNull 
)


Member Function Documentation

override void wx.GridCtrl.Editors.GridCellDateTimeEditor.BeginEdit ( int  row,
int  col,
Grid  grid 
) [virtual]

Implements wx.GridCtrl.Editors.GridCellEditor.

override GridCellEditor wx.GridCtrl.Editors.GridCellDateTimeEditor.Clone (  )  [virtual]

Implements wx.GridCtrl.Editors.GridCellEditor.

override void wx.GridCtrl.Editors.GridCellDateTimeEditor.Create ( Window  parent,
int  id,
EvtHandler  evtHandler 
) [virtual]

Do not forget to set the generated control (SetControl())

Implements wx.GridCtrl.Editors.GridCellEditor.

override bool wx.GridCtrl.Editors.GridCellDateTimeEditor.EndEdit ( int  row,
int  col,
Grid  grid 
) [virtual]

Implements wx.GridCtrl.Editors.GridCellEditor.

override void wx.GridCtrl.Editors.GridCellDateTimeEditor.Reset (  )  [virtual]

Implements wx.GridCtrl.Editors.GridCellEditor.

override void wx.GridCtrl.Editors.GridCellDateTimeEditor.SetSize ( System.Drawing.Rectangle  rect  ) 

override void wx.GridCtrl.Editors.GridCellDateTimeEditor.StartingKey ( KeyEvent  e  )  [virtual]

Reimplemented from wx.GridCtrl.Editors.GridCellEditor.


Property Documentation

DateTimeEdit wx.GridCtrl.Editors.GridCellDateTimeEditor.InputCtrl [get]

Returns the input control.


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