Returns the instance of the SplitterClass class that represents the splitter bar in a SftTree 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 control and its attributes.
public Form1() {
InitializeComponent();
}
private void Optimize() {
sftTree1.Initializing = true;
sftTree1.Columns.MakeOptimal(0, false);
sftTree1.RowHeaders.MakeOptimal(0, false);
sftTree1.Splitter.MakeOptimal();
sftTree1.RecalcHorizontalExtent();
sftTree1.Initializing = false;
}
private void AdjustInfo() {
Rectangle cr = sftTree1.ClientRectangle;
End Get
End Property
End Class
Private Sub Optimize()
sftTree1.Initializing = True
sftTree1.Columns.MakeOptimal(0, False)
sftTree1.RowHeaders.MakeOptimal(0, False)
sftTree1.Splitter.MakeOptimal()
sftTree1.RecalcHorizontalExtent()
sftTree1.Initializing = False
End Sub
Private Sub AdjustInfo()
Dim cr As Rectangle = sftTree1.ClientRectangleSee Also SftTree Class | Classes | SftTree/NET 3.0