HeaderPane
Main
Hide
Share Link
Print

RowHeaders Property, SftTree Class

Returns the instance of the RowHeadersClass class that defines attributes for all row headers in a SftTree control.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public RowHeadersClass RowHeaders { get; }
Public ReadOnly Property RowHeaders As RowHeadersClass

Value

The instance of the RowHeadersClass class.

Comments

Returns the instance of the RowHeadersClass class that defines attributes for all row headers in a SftTree control.

Examples

C# View entire sample code

    public partial class Form1 : Form {
        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() {

VB.NET View entire sample code

            Return _Interval
        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()

See Also SftTree Class | Classes | SftTree/NET 3.0