wx.TreeItemData Class Reference

Inheritance diagram for wx.TreeItemData:

wx.ClientData wx.Object

List of all members.

Public Member Functions

override void Dispose ()
 TreeItemData (object clientData)
 Creates an instance encapsulating the provided object as client data.
 TreeItemData (int clientData)
 Creates an instance encapsulating the provided index that shall annotate a tree node.
 TreeItemData ()
 TreeItemData (IntPtr wxObject)

Properties

object Data [get, set]
TreeItemId Id [get, set]


Detailed Description

Analogously to SystemObjectClientData this holds a reference to an object that represents the client data. Use instance of this class to wrapp .NET data that shall be used as client data of a tree node in a wx.TreeCtrl.

Constructor & Destructor Documentation

wx.TreeItemData.TreeItemData ( IntPtr  wxObject  ) 

For internal use only: Creates a registered wrapper of the provided native tree node instance.

Parameters:
wxObject Pointer to the tree node isntance that shall be wrapped.

wx.TreeItemData.TreeItemData (  ) 

Creates an instance encapsulating the null reference.

wx.TreeItemData.TreeItemData ( int  clientData  ) 

Creates an instance encapsulating the provided index that shall annotate a tree node.

Parameters:
clientData The index that shall be associated with a tree node.

wx.TreeItemData.TreeItemData ( object  clientData  ) 

Creates an instance encapsulating the provided object as client data.

Parameters:
clientData The data that shall be associated with a tree node.


Member Function Documentation

override void wx.TreeItemData.Dispose (  )  [virtual]

Reimplemented from wx.ClientData.


Property Documentation

object wx.TreeItemData.Data [get, set]

Returns or sets the data that has been attached to the node.

TreeItemId wx.TreeItemData.Id [get, set]


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