Share via


SHOWPLUS Attribute | ShowPlus Property

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

Syntax

Visual Basic  Public  Property ShowPlus As bool
C# public  bool ShowPlus { get; set; }
Managed C++ public:  __property bool get_ShowPlus();
public:  __property void set_ShowPlus(bool);
JScript public   function get ShowPlus() : bool;
public   function set ShowPlus(bool);

Possible Values

bShowPlus bool 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