C# Class Raccoom.Windows.Forms.TreeViewFolderBrowserHelper

TreeViewFolderBrowserHelper is like a bridge between ITreeViewFolderBrowserDataProvider and TreeViewFolderBrowser and provides access to the needed informations to fill the tree view.
Mostrar archivo Open project: MediaPortal/MPTagThat Class Usage Examples

Public Methods

Method Description
CreateTreeNode ( string text, string path, bool addDummyNode, bool forceChecked, bool isSpecialFolder ) : TreeNodePath

Creates a tree node and add it to the TreeNodeCollection.

Private Methods

Method Description
TreeViewFolderBrowserHelper ( TreeViewFolderBrowser treeView ) : System

Initialize a new instance of TreeViewFolderBrowserHelper for the specified TreeViewFolderBrowser instance.

Method Details

CreateTreeNode() public method

Creates a tree node and add it to the TreeNodeCollection.
public CreateTreeNode ( string text, string path, bool addDummyNode, bool forceChecked, bool isSpecialFolder ) : TreeNodePath
text string The text displayed in the label of the tree node.
path string The path the node represents.
addDummyNode bool True to add + sign, otherwise no + sign appears.
forceChecked bool True to check node in each case, otherwise false to allow normal check against selected paths.
isSpecialFolder bool Specifies if this node is a special folder. Special folders do not request data from the attached data provider.
return TreeNodePath