Defines how tree lines are displayed.
Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public TreeLineStyleEnum TreeLineStyle { get; set; }
Public Property TreeLineStyle As TreeLineStyleEnumThe tree line style.
The default value is TreeLineStyleEnum.AllLevels.
Defines how tree lines are displayed.
The color used for tree lines can be defined using the SftTree.TreeLineColor property.
SftTree.TreeLinesPen defines the pen style used to draw tree lines.
Tree lines are only used in the item area and only if a hierarchy column has been defined using ColumnClass.ShowHierarchy.
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 SftTree Class | Classes | SftTree/NET 3.0