Returns the instance of the SplitterClass class that represents the splitter bar in a SftTree/NET control and its attributes.
Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public SplitterClass Splitter { get; }
Public ReadOnly Property Splitter As SplitterClass
The instance of the SplitterClass class.
Returns the instance of the SplitterClass class that represents the splitter bar in a SftTree/NET control and its attributes.
// set all textbox properties
textBox1.Parent = sftTree1; // make the tree control the parent window
textBox1.Text = e.Cell.Text;
int h = textBox1.Height;
Rectangle r = e.rCell;
// limit the control to the left (and only) pane
r.Intersect(sftTree1.Splitter.Left.ItemsArea);
int vOffs = (r.Size.Height - textBox1.Height) / 2;
textBox1.Location = new Point(r.Location.X, r.Location.Y + vOffs);
textBox1.Width = r.Width;
// make it visible and enable it
textBox1.Enabled = true;
textBox1.Visible = true;See Also SftTree Class | Classes | SftTree/NET 2.0