HeaderPane
Main
Hide
Share Link
Print

TreeLineStyleEnum Enumeration

Used with the SftTree.TreeLineStyle property to define whether tree lines are displayed.

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

Syntax

public enum TreeLineStyleEnum;
Public Enum TreeLineStyleEnum

Values

NameDescription
NoneNo tree lines are displayed.
AllLevelsTree lines are displayed connecting all levels within the hierarchy.
AllLevelsExcept0Tree lines are displayed connecting all levels within the hierarchy, except items on level 0.

Comments

Used with the SftTree.TreeLineStyle property to define whether tree lines are displayed.

Examples

C#

        private void ExpandCollapseButtonsSimple() {
            sftTree1.ButtonLook = ButtonLookEnum.Simple;
            sftTree1.TreeLinesPen = LinesPenStyleEnum.Dots;
        }

        private void ExpandCollapseButtonsVista() {
            sftTree1.ButtonLook = ButtonLookEnum.ThemedAppearanceVista;
            sftTree1.TreeLineStyle = TreeLineStyleEnum.None;
        }

        private void ExpandCollapseButtonsXP() {
            sftTree1.ButtonLook = ButtonLookEnum.ThemedAppearanceXP;
            sftTree1.TreeLineStyle = TreeLineStyleEnum.None;
        }

        private void ExpandCollapseButtonsNormal() {

VB.NET

Private Sub ExpandCollapseButtonsSimple()
    sftTree1.ButtonLook = ButtonLookEnum.Simple
    sftTree1.TreeLinesPen = LinesPenStyleEnum.Dots
End Sub

Private Sub ExpandCollapseButtonsVista()
    sftTree1.ButtonLook = ButtonLookEnum.ThemedAppearanceVista
    sftTree1.TreeLineStyle = TreeLineStyleEnum.None
End Sub

Private Sub ExpandCollapseButtonsXP()
    sftTree1.ButtonLook = ButtonLookEnum.ThemedAppearanceXP
    sftTree1.TreeLineStyle = TreeLineStyleEnum.None
End Sub

Private Sub ExpandCollapseButtonsNormal()

See Also | Classes | SftTree/NET 3.0