Click or drag to resize

TreeView.Collapse Method (TreeViewItem)

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

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD Collapse(
	oItem AS TreeViewItem
) AS LOGIC
Request Example View Source

Parameters

oItem
Type: TreeViewItem
The TreeViewItem object representing the tree view item to be collapsed.

Return Value

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