SHOWPLUS Attribute | ShowPlus Property

Sets or retrieves a value that indicates whether or not a plus or minus sign renders on parent nodes.

Syntax

ASP <tagPrefix:TREEVIEW SHOWPLUS = bShowPlus ... >
Script [ bShowPlus = ] TREEVIEW.ShowPlus

Possible Values

tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive.
bShowPlus System.Boolean that specifies or receives whether to display an image next to the name of parent nodes.
falseNo image renders on parent nodes.
trueDefault. Plus or minus sign images render on parent nodes.

The property is read/write. The property has a default value of true.

Remarks

When this property is true, a plus-sign image displays on collapsed nodes and a minus-sign image displays on expanded nodes.

Applies To

TREEVIEW

See Also

Internet Explorer WebControls, About the TreeView WebControl