Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.Controls.v3.6 Assembly / Xceed.SmartUI.Controls.TreeView Namespace / SmartTreeView Class / ShowLines Property


In This Topic
    ShowLines Property
    In This Topic
    Gets or sets a boolean value indicating if lines are drawn between nodes in the SmartControl.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates if lines are drawn between nodes in the SmartControl")>
    <CategoryAttribute("Appearance")>
    <DefaultValueAttribute(True)>
    <BrowsableAttribute(True)>
    <MergablePropertyAttribute(False)>
    <LocalizableAttribute(False)>
    Public Property ShowLines As Boolean
    'Usage
     
    Dim instance As SmartTreeView
    Dim value As Boolean
     
    instance.ShowLines = value
     
    value = instance.ShowLines
    [Description("Indicates if lines are drawn between nodes in the SmartControl")]
    [Category("Appearance")]
    [DefaultValue(true)]
    [Browsable(true)]
    [MergableProperty(false)]
    [Localizable(false)]
    public bool ShowLines {get; set;}

    Property Value

    true if lines are drawn between tree nodes in the SmartControl; false otherwise. The default is true.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also