wx.Object.ClassInfo Class Reference

List of all members.

Static Public Member Functions

static ClassInfo FindOrCreate (IntPtr cptr, Type wrapperType)
static ClassInfo FindWxGridCellEditor (IntPtr wxGridCellWorker)
static ClassInfo FindWxGridCellRenderer (IntPtr wxGridCellWorker)
static ClassInfo FindWxObject (IntPtr wxObject)

Properties

string BaseClass1 [get]
string BaseClass2 [get]
string Name [get]
int Size [get]
Type wxNetType [get]


Detailed Description

This wrapps the wxWidgets wxClassInfo. This class implements a DB of registered class informations. This DB may be used to identify pointers to wxObject by FindClassInfoOf(). Prerequisite: The wrapper class (e.g. HtmlCell) implements a public and static method GetWxClassInfo() or HtmlCell_GetWxClassInfo() returning a System.IntPtr to the wxClassInfo of the C++ objects wrapped by that class.

Member Function Documentation

static ClassInfo wx.Object.ClassInfo.FindOrCreate ( IntPtr  cptr,
Type  wrapperType 
) [static]

This will return the wrapper for the wxWidgets wxClassInfo cptr. or create one if necessary.

static ClassInfo wx.Object.ClassInfo.FindWxGridCellEditor ( IntPtr  wxGridCellWorker  )  [static]

This will find the class info referring to a native instance of wxGridCellEditor.

static ClassInfo wx.Object.ClassInfo.FindWxGridCellRenderer ( IntPtr  wxGridCellWorker  )  [static]

This will find the class info referring to a native instance of wxGridCellRenderer.

static ClassInfo wx.Object.ClassInfo.FindWxObject ( IntPtr  wxObject  )  [static]

This will find the class info referring to a native instance of wxObject. Please note, that not all wxWidgets classes inerit from wxObject.


Property Documentation

string wx.Object.ClassInfo.BaseClass1 [get]

First base class or null.

string wx.Object.ClassInfo.BaseClass2 [get]

Second base class or null.

string wx.Object.ClassInfo.Name [get]

int wx.Object.ClassInfo.Size [get]

The size of the native object.

Type wx.Object.ClassInfo.wxNetType [get]

This is the wx.NET wrapper class.


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