wx.GridCtrl.Renderers.GridCellDateTimeRenderer Class Reference

Inheritance diagram for wx.GridCtrl.Renderers.GridCellDateTimeRenderer:

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

List of all members.

Public Member Functions

override GridCellRenderer Clone ()
override void Dispose ()
override void Draw (Grid grid, GridCellAttr attr, DC dc, Rectangle rect, int row, int col, bool isSelected)
override Size GetBestSize (Grid grid, GridCellAttr attr, DC dc, int row, int col)
 GridCellDateTimeRenderer (IntPtr wxObject)
 GridCellDateTimeRenderer (wxString outformat, wxString informat)
 GridCellDateTimeRenderer (string outformat, string informat)
 GridCellDateTimeRenderer (string outformat)
 GridCellDateTimeRenderer ()
static IntPtr GridCellDateTimeRenderer_GetWxClassInfo ()
override void SetParameters (string parameter)


Detailed Description

Wrapper of the wxGridCellDateTimeRenderer. This editor uses format strings according to wxWidgets convention for output - that is in fact the convention of the standard C/C++ function strftime. Refer to GridCellDateTimeMaskRenderer for a more .NET like implementation.

These are the elements of strftime format strings:
&a Abbreviated weekday name
&A Full weekday name
&b Abbreviated month name
&B Full month name
&c Date and time representation appropriate for locale
&d Day of month as decimal number (01 – 31)
&H Hour in 24-hour format (00 – 23)
&I Hour in 12-hour format (01 – 12)
&j Day of year as decimal number (001 – 366)
&m Month as decimal number (01 – 12)
&M Minute as decimal number (00 – 59)
&p Current locale's A.M./P.M. indicator for 12-hour clock
&S Second as decimal number (00 – 59)
&U Week of year as decimal number, with Sunday as first day of week (00 – 53)
&w Weekday as decimal number (0 – 6; Sunday is 0)
&W Week of year as decimal number, with Monday as first day of week (00 – 53)
&x Date representation for current locale
&X Time representation for current locale
&y Year without century, as decimal number (00 – 99)
&Y Year with century, as decimal number
&z, &Z Either the time-zone name or time zone abbreviation, depending on registry settings; no characters if time zone is unknown
&& Percent sign
&a, &A, &b, &B, &p, &X, &z, &Z, &#& # flag is ignored.
&cLong date and time representation, appropriate for current locale. For example: "Sunday, October 3, 2010, 11:32:22".
&x Long date representation, appropriate to current locale. For example: "Sunday, October 3, 2010".
&d, &H, &I, &j, &m, &M, &S, &U, &w, &W, &y, &Y Remove leading zeros (if any).


Constructor & Destructor Documentation

wx.GridCtrl.Renderers.GridCellDateTimeRenderer.GridCellDateTimeRenderer (  ) 

wx.GridCtrl.Renderers.GridCellDateTimeRenderer.GridCellDateTimeRenderer ( string  outformat  ) 

wx.GridCtrl.Renderers.GridCellDateTimeRenderer.GridCellDateTimeRenderer ( string  outformat,
string  informat 
)

wx.GridCtrl.Renderers.GridCellDateTimeRenderer.GridCellDateTimeRenderer ( wxString  outformat,
wxString  informat 
)

wx.GridCtrl.Renderers.GridCellDateTimeRenderer.GridCellDateTimeRenderer ( IntPtr  wxObject  ) 


Member Function Documentation

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

Reimplemented from wx.GridCtrl.Renderers.GridCellStringRenderer.

override void wx.GridCtrl.Renderers.GridCellDateTimeRenderer.Dispose (  )  [virtual]

Reimplemented from wx.GridCtrl.GridCellWorker.

override void wx.GridCtrl.Renderers.GridCellDateTimeRenderer.Draw ( Grid  grid,
GridCellAttr  attr,
DC  dc,
Rectangle  rect,
int  row,
int  col,
bool  isSelected 
) [virtual]

Reimplemented from wx.GridCtrl.Renderers.GridCellStringRenderer.

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

Reimplemented from wx.GridCtrl.Renderers.GridCellStringRenderer.

static IntPtr wx.GridCtrl.Renderers.GridCellDateTimeRenderer.GridCellDateTimeRenderer_GetWxClassInfo (  ) 

override void wx.GridCtrl.Renderers.GridCellDateTimeRenderer.SetParameters ( string  parameter  )  [virtual]

Reimplemented from wx.GridCtrl.GridCellWorker.


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