Archive Browser
Download CustomTreeViewLabelEdit.zip, last updated 28/10/2013 (16.32 KB)
Download- md5: 80ba715b3ff9cc64851d7914f54af397
using System.ComponentModel;
using System.Windows.Forms;
namespace CustomTreeViewLabelEdit
{
internal class NodeRequestTextEventArgs : CancelEventArgs
{
// Specifying custom text when using the LabelEdit functionality of a TreeView
// http://cyotek.com/blog/specifying-custom-text-when-using-the-labeledit-functionality-of-a-treeview
#region Constructors
public NodeRequestTextEventArgs(TreeNode node, string label)
: this()
{
this.Node = node;
this.Label = label;
}
protected NodeRequestTextEventArgs()
{ }
#endregion
#region Properties
public string Label { get; set; }
public TreeNode Node { get; protected set; }
#endregion
}
}
Donate
This software may be used free of charge, but as with all free software there are costs involved to develop and maintain.
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Donate