Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

Expand Method, ItemCollectionClass Class

Collapses all items in the item collection so their dependents are hidden.

Class: ItemCollectionClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public void Expand( ExpandStyleEnum Style );
Public Sub Expand( ByVal Style As ExpandStyleEnum )

Parameters

Style

Defines how the items and their dependents are collapsed.

Comments

Collapses all items in the item collection so their dependents are hidden.

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

If items are already expanded when using Expand, the items remains unchanged. It does not make any indirect dependents visible. To make sure that an item's indirect dependents are shown, use the ItemClass.Collapse or ItemCollectionClass.Collapse methods first, which collapse the items (and all dependents), followed by Expand. Now all dependents are visible.

See Also ItemCollectionClass Class | Classes | SftTree/NET 2.0