HeaderPane
Main
Hide
Share Link
Print

Expand Method, ItemCollectionClass Class

Expands all items in the item collection so their dependents become visible.

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 expanded.

Comments

Expands all items in the item collection so their dependents become visible.

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

If items are already expanded when using Expand, the items remain 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 3.0