SftTree/NET 2.0

Collapse Method, ItemClass Class

Softel vdm, Inc.

Collapses the item so its dependents are hidden.

Syntax      ItemClass Class (Softelvdm.SftTreeNET)

VB   

Public Sub Collapse( ByVal Style As CollapseStyleEnum )

C#   

public void Collapse( CollapseStyleEnum Style );

C++   

public: void Collapse( CollapseStyleEnum Style );

Style

Defines how the item and its dependents are collapsed.

CollapseStyleEnum

Value

Description

All

0

Collapse this item and all its dependents.

SaveCurrent

1

Collapse this item and all its dependents, saving the current state so it can later be restored using Expand(ExpandStyleEnum.RestoreLast).

Comments

The Collapse method collapses the item so its dependents are hidden.

This method can only be used for items in the item area.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com