wx.GridCtrl.GridCellAttrProvider Class Reference

Inheritance diagram for wx.GridCtrl.GridCellAttrProvider:


List of all members.

Public Member Functions

virtual GridCellAttr GetAttr (int row, int col, GridCellAttr.AttrKind kind)
 GridCellAttrProvider ()
 GridCellAttrProvider (IntPtr wxObject)
virtual void SetAttr (GridCellAttr attr, int row, int col)
virtual void SetColAttr (GridCellAttr attr, int col)
virtual void SetRowAttr (GridCellAttr attr, int row)
void UpdateAttrCols (int pos, int numCols)
void UpdateAttrRows (int pos, int numRows)

Protected Member Functions

override void CallDTor ()

Constructor & Destructor Documentation

wx.GridCtrl.GridCellAttrProvider.GridCellAttrProvider ( IntPtr  wxObject  ) 

wx.GridCtrl.GridCellAttrProvider.GridCellAttrProvider (  ) 

Member Function Documentation

override void wx.GridCtrl.GridCellAttrProvider.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.Object.

virtual GridCellAttr wx.GridCtrl.GridCellAttrProvider.GetAttr ( int  row,
int  col,
GridCellAttr.AttrKind  kind 
) [virtual]

Returns grid cell attributes relevant to the cell as specified by the provided row and column index.

Note: Grid cell attributs contain elements like fonts that often have a reduced address space (like handles in Windows). So, it is usually not a good idea to create grid cell attributes when they are needed. A better practice stores all required grid cell attributes in member variables. However, grid cell attributes wrapp C++ instances using reference counting. So, you will have to increment the reference counter by GridCellAttr.IncRef().

row The row index.
col The column index.
kind A value indicating the intended use of the attributes.

virtual void wx.GridCtrl.GridCellAttrProvider.SetAttr ( GridCellAttr  attr,
int  row,
int  col 
) [virtual]

virtual void wx.GridCtrl.GridCellAttrProvider.SetColAttr ( GridCellAttr  attr,
int  col 
) [virtual]

virtual void wx.GridCtrl.GridCellAttrProvider.SetRowAttr ( GridCellAttr  attr,
int  row 
) [virtual]

void wx.GridCtrl.GridCellAttrProvider.UpdateAttrCols ( int  pos,
int  numCols 

void wx.GridCtrl.GridCellAttrProvider.UpdateAttrRows ( int  pos,
int  numRows 

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