wx.GridCtrl.Renderers.GridCellEnumRenderer Class Reference

Inheritance diagram for wx.GridCtrl.Renderers.GridCellEnumRenderer:

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 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)
 GridCellEnumRenderer (IntPtr wxObject)
 GridCellEnumRenderer (wxString choices)
 GridCellEnumRenderer (string choices)
 GridCellEnumRenderer (string[] choices)
 GridCellEnumRenderer ()
static IntPtr GridCellEnumRenderer_GetWxClassInfo ()
override void SetParameters (string parameter)

Protected Member Functions

override void CallDTor ()

Detailed Description

Renders an enumeration. Enumerations are specified either as comma separated list or as an array of strings. However, also this array will be passed to the renderer as comma separated list so avoid comma in items.

Constructor & Destructor Documentation

wx.GridCtrl.Renderers.GridCellEnumRenderer.GridCellEnumRenderer (  ) 

wx.GridCtrl.Renderers.GridCellEnumRenderer.GridCellEnumRenderer ( string[]  choices  ) 

wx.GridCtrl.Renderers.GridCellEnumRenderer.GridCellEnumRenderer ( string  choices  ) 

Argument is a comma separated list.

wx.GridCtrl.Renderers.GridCellEnumRenderer.GridCellEnumRenderer ( wxString  choices  ) 

Argument is a comma separated list.

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

Member Function Documentation

override void wx.GridCtrl.Renderers.GridCellEnumRenderer.CallDTor (  )  [protected, virtual]

This will be called by Dispose() to delete the C++ object. Overload this if you have to use another DTor.

Reimplemented from wx.GridCtrl.Renderers.GridCellStringRenderer.

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

Reimplemented from wx.GridCtrl.Renderers.GridCellStringRenderer.

override void wx.GridCtrl.Renderers.GridCellEnumRenderer.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.GridCellEnumRenderer.GetBestSize ( Grid  grid,
GridCellAttr  attr,
DC  dc,
int  row,
int  col 
) [virtual]

Reimplemented from wx.GridCtrl.Renderers.GridCellStringRenderer.

static IntPtr wx.GridCtrl.Renderers.GridCellEnumRenderer.GridCellEnumRenderer_GetWxClassInfo (  ) 

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

The parameter is a comma separated list of the items to be rendered.

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