Used with the SftTree.TreeLineStyle property to define whether tree lines are displayed.
Class: (none)
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public enum TreeLineStyleEnum;
Public Enum TreeLineStyleEnum
| Name | Description |
|---|---|
| None | No tree lines are displayed. |
| AllLevels | Tree lines are displayed connecting all levels within the hierarchy. |
| AllLevelsExcept0 | Tree lines are displayed connecting all levels within the hierarchy, except items on level 0. |
Used with the SftTree.TreeLineStyle property to define whether tree lines are displayed.
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() {
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