KaxTreeViewNodeEdit Event |
Occurs when a node's text is edited.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax public event KaxTreeViewEditEventHandler NodeEdit
Public Event NodeEdit As KaxTreeViewEditEventHandler
public:
event KaxTreeViewEditEventHandler^ NodeEdit {
void add (KaxTreeViewEditEventHandler^ value);
void remove (KaxTreeViewEditEventHandler^ value);
}
member NodeEdit : IEvent<KaxTreeViewEditEventHandler,
KaxTreeNodeEditEventArgs>
Value
Type:
Kettic.AspNet.ControlsKaxTreeViewEditEventHandlerRemarks
The
NodeEdit event is commonly used to update the
Text property after editing.
Examples
The following example demonstrates how to update the
Text property after editing
protected void KaxTreeView1_NodeEdit(object sender, KaxTreeNodeEditEventArgs e)
{
KaxTreeNode nodeEdited = e.Node;
string newText = e.Text;
nodeEdited.Text = newText;
}
Protected Sub HandleNodeEdit(ByVal sender As Object, ByVal e As KaxTreeNodeEditEventArgs) Handles KaxTreeView1.NodeEdit
Dim nodeEdited As KaxTreeNode = e.Node
Dim newText As String = e.Text
nodeEdited.Text = newText
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also