Provides data for the EditSetup event.
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
Inheritance
public class EditSetupEventArgs : System.EventArgs;
Public Class EditSetupEventArgs
Inherits System.EventArgsThis class cannot be instantiated.
![]() | Cell | The cell to be edited. |
![]() | EditControl | Defines the control used for cell editing. This value can be modified by the EditSetup event handler. |
![]() ![]() ![]() | Empty | Provides a value to use with events that do not have event data. |
![]() | Item | The item whose cell is to be edited. |
![]() | rCell | The location of the cell. |
![]() ![]() | Equals | Determines whether the specified object is equal to the current object. |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
![]() ![]() | GetHashCode | Serves as the default hash function. |
![]() ![]() | GetType | Gets the Type of the current instance. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. |
![]() ![]() ![]() | ReferenceEquals | Determines whether the specified Object instances are the same instance. |
![]() ![]() | ToString | Returns a string that represents the current object. |
e.Cell.Text = textBox1.Text;
// hide the text box and make the form the control's parent
textBox1.Visible = false;
textBox1.Enabled = false;
textBox1.Parent = sftTree1.Parent;
}
private void sftTree1_EditSetup(object sender, Softelvdm.SftTreeNET.EditSetupEventArgs e) {
DumpValues("EditSetup", e);
textBox1.Parent = sftTree1; // make the tree control the parent window
textBox1.Text = e.Cell.Text;
int h = textBox1.Height;
End If
' hide the text box and make the form the control's parent
TextBox1.Visible = False
TextBox1.Enabled = False
TextBox1.Parent = SftTree1.Parent
End Sub
Private Sub SftTree1_EditSetup(ByVal sender As System.Object, ByVal e As Softelvdm.SftTreeNET.EditSetupEventArgs) Handles SftTree1.EditSetup
DumpValues("EditSetup", e)
TextBox1.Parent = SftTree1 ' make the tree control the parent window
TextBox1.Text = e.Cell.Text
Dim h As Integer = TextBox1.Height
See Also Classes | SftTree/NET 3.0