Defines the control used for cell editing. This value can be modified by the EditSetup event handler.
Class: EditSetupEventArgs
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public Control EditControl;
Public EditControl As ControlDefines the control used for cell editing. This value can be modified by the EditSetup event handler.
// make it visible and enable it
textBox1.Enabled = true;
textBox1.Visible = true;
// off we go!
textBox1.BringToFront();
textBox1.Focus();
e.EditControl = textBox1;
}
private void sftTree1_EditValidate(object sender, Softelvdm.SftTreeNET.EditValidateEventArgs e) {
DumpValues("EditValidate", e);
}
private void sftTree1_Enter(object sender, EventArgs e) {
DumpValues("Enter", e);
' make it visible and enable it
TextBox1.Enabled = True
TextBox1.Visible = True
' off we go!
TextBox1.BringToFront()
TextBox1.Focus()
e.EditControl = TextBox1
End Sub
Private Sub SftTree1_EditValidate(ByVal sender As System.Object, ByVal e As Softelvdm.SftTreeNET.EditValidateEventArgs) Handles SftTree1.EditValidate
DumpValues("EditValidate", e)
End Sub
Private Sub SftTree1_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SftTree1.Enter
DumpValues("Enter", e)See Also EditSetupEventArgs Class | Classes | SftTree/NET 3.0