wx.GridCtrl.Renderers.GridCellDateTimeMaskRenderer Class Reference

Inheritance diagram for wx.GridCtrl.Renderers.GridCellDateTimeMaskRenderer:

wx.GridCtrl.Renderers.GridCellRenderer wx.GridCtrl.GridCellWorker wx.Object

List of all members.

Public Member Functions

override GridCellRenderer Clone ()
string DateTimeToString (DateTime data)
override void Draw (Grid grid, GridCellAttr attr, DC dc, System.Drawing.Rectangle rect, int row, int col, bool isSelected)
GetBestSize (Grid grid, GridCellAttr attr, DC dc, int row, int col)
 GridCellDateTimeMaskRenderer (string format)


string Format [get]

Detailed Description

Renders DateTime data compatbile to wx.GridCtrl.Editors.GridCellDateTimeEditor.

This expand the following format strings using data:

Constructor & Destructor Documentation

wx.GridCtrl.Renderers.GridCellDateTimeMaskRenderer.GridCellDateTimeMaskRenderer ( string  format  ) 

Creates a renderer showing data in the provided format. refer to the class documentation.

Member Function Documentation

override GridCellRenderer wx.GridCtrl.Renderers.GridCellDateTimeMaskRenderer.Clone (  )  [virtual]

Implements wx.GridCtrl.Renderers.GridCellRenderer.

string wx.GridCtrl.Renderers.GridCellDateTimeMaskRenderer.DateTimeToString ( DateTime  data  ) 

Creates a string from data using the format string Format.

override void wx.GridCtrl.Renderers.GridCellDateTimeMaskRenderer.Draw ( Grid  grid,
GridCellAttr  attr,
DC  dc,
System.Drawing.Rectangle  rect,
int  row,
int  col,
bool  isSelected 

override System.Drawing.Size wx.GridCtrl.Renderers.GridCellDateTimeMaskRenderer.GetBestSize ( Grid  grid,
GridCellAttr  attr,
DC  dc,
int  row,
int  col 
) [virtual]

Implements wx.GridCtrl.Renderers.GridCellRenderer.

Property Documentation

string wx.GridCtrl.Renderers.GridCellDateTimeMaskRenderer.Format [get]

returns the format string.

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