Defines the pen style used to draw tree lines.
Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public LinesPenStyleEnum TreeLinesPen { get; set; }
Public Property TreeLinesPen As LinesPenStyleEnumThe tree lines pen style.
The default value is LinesPenStyleEnum.Solid.
Defines the pen style used to draw tree lines.
Columns and cells cannot individually define the pen style. It applies to all tree lines throughout the control.
The color used for tree lines can be defined using the SftTree.TreeLineColor property.
private void RowHeadersOn() {
Optimize();
AdjustInfo();
}
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() {
Private Sub RowHeadersOn()
Optimize()
AdjustInfo()
End Sub
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()See Also SftTree Class | Classes | SftTree/NET 3.0