System.Web.UI.WebControls.TreeView.ShowLines Property

Gets or sets a value indicating whether lines connecting child nodes to parent nodes are displayed.

Syntax

[System.ComponentModel.DefaultValue(false)]
public bool ShowLines { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the TreeView.ShowLines property to specify whether the lines that are connecting child nodes to parent nodes are displayed. When this property is set to true, the System.Web.UI.WebControls.TreeView control searches the Web-accessible folder that is specified by the TreeView.LineImagesFolder property for the line images.

Note:

If the TreeView.LineImagesFolder property is not set, the System.Web.UI.WebControls.TreeView control will use the built-in, default images (20 x 20 pixels).

The value of this property is stored in view state.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0