C# Class ZForge.Controls.TreeViewAdv.Tree.TreeListAdapter

Converts IEnumerable interface to ITreeModel. Allows to display a plain list in the TreeView
Inheritance: ITreeModel
Datei anzeigen Open project: zhuangyy/Motion

Public Methods

Method Description
GetChildren ( TreePath treePath ) : System.Collections.IEnumerable
IsLeaf ( TreePath treePath ) : bool
OnNodeInserted ( TreeModelEventArgs args ) : void
OnNodeRemoved ( TreeModelEventArgs args ) : void
OnNodesChanged ( TreeModelEventArgs args ) : void
OnStructureChanged ( TreePathEventArgs args ) : void
TreeListAdapter ( System list ) : System

Method Details

GetChildren() public method

public GetChildren ( TreePath treePath ) : System.Collections.IEnumerable
treePath TreePath
return System.Collections.IEnumerable

IsLeaf() public method

public IsLeaf ( TreePath treePath ) : bool
treePath TreePath
return bool

OnNodeInserted() public method

public OnNodeInserted ( TreeModelEventArgs args ) : void
args TreeModelEventArgs
return void

OnNodeRemoved() public method

public OnNodeRemoved ( TreeModelEventArgs args ) : void
args TreeModelEventArgs
return void

OnNodesChanged() public method

public OnNodesChanged ( TreeModelEventArgs args ) : void
args TreeModelEventArgs
return void

OnStructureChanged() public method

public OnStructureChanged ( TreePathEventArgs args ) : void
args TreePathEventArgs
return void

TreeListAdapter() public method

public TreeListAdapter ( System list ) : System
list System
return System