Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

SortStatusEnum Enumeration

Defines the sorting indicator status.

Class: (none)
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET

Syntax

public enum SortStatusEnum;
Public Enum SortStatusEnum

Values

NameDescription
NotSortedThe sorting indicator is not shown.
AscendingThe ascending sorting indicator is shown.
DescendingThe descending sorting indicator is shown.

Comments

Defines the sorting indicator status.

Examples

C#

            cell.Parts.Add(ip);
            tp = new TextPartClass("Third part");
            tp.HAlign = HAlignmentOptionalEnum.Left;
            cell.Parts.Add(tp);

            // Set a sorting indicator in the first column header
            cell = sftTree1.Headers[0,0];
            cell.SortIndicatorPosition = SortIndicatorPositionEnum.Side;
            cell.SortStatus = SortStatusEnum.Ascending;

            sftTree1.Columns.MakeOptimal(0, false);
            sftTree1.RecalcHorizontalExtent();
            sftTree1.Initializing = false;
        }

        // Dropdown button Action event

VB.NET

    cell.Parts.Add(ip)
    tp = New TextPartClass("Third part")
    tp.HAlign = HAlignmentOptionalEnum.Left
    cell.Parts.Add(tp)

    ' Set a sorting indicator in the first column header
    cell = sftTree1.Headers(0, 0)
    cell.SortIndicatorPosition = SortIndicatorPositionEnum.Side
    cell.SortStatus = SortStatusEnum.Ascending

    sftTree1.Columns.MakeOptimal(0, False)
    sftTree1.RecalcHorizontalExtent()
    sftTree1.Initializing = False
End Sub

' Dropdown button Action event

See Also | Classes | SftTree/NET 2.0



Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.