Screenshots
Introduction
This is a multi select TreeView
Control for the .NET Framework. It is possible to select TreeNode
s in multiple ways with or without constraints.
Details
The MWTreeView
has a few ways of mouse-selecting the TreeNode
s by painting anything from a rubberband to very graphical representations. There is even the possibility, using GDI+, to customize the mouse-selection. It is also possible to have TreeNode
s of various colors within the same MWTreeView
with multi-selection still working. The MWTreeView
has a massive amount of configurable settings so that anyone should be able to tailor it to their needs.
Note that when selecting TreeNode
s in code, the SelectNode
(DeselectNode
also exists) method should be used. Note that when changing the colors of a TreeNode
, the ChangeColors
method should be used. Do not just change the colors of a TreeNode
.
Note that in order to iterate through the selected TreeNode
s, the following method has to be used (selected TreeNode
s are stored in a Hashtable
):
foreach(MWTreeNodeWrapper mwtnw in mwtvMWTreeView.SelNodes.Values)
{
MessageBox.Show("The " + mwtnw.Node.Text +
" TreeNode is selected.");
}
Contacting Me
I can be reached through the forum here at CodeProject.