Click or drag to resize

TreeView.Collapse Method (Symbol, Logic)

X#
Collapse a tree view item, hiding its child items.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Collapse(
	symName AS SYMBOL,
	lRemoveChildItems AS LOGIC
) AS USUAL
Request Example View Source

Parameters

symName
Type: Symbol
The symbolic name of the tree view item to be collapsed.
lRemoveChildItems
Type: Logic
A logical value indicating whether child tree view items of the specified item will be removed when the item is collapsed. If omitted, the default is FALSE.

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
See Also