WinStudio

TreeIsCollapsing Method

Applies To

IWSFormComponent interface, tree objects

Definition

Returns a Boolean value indicating whether a tree is ready to collapse a node.

Syntax

object.TreeIsCollapsing( )

  Part

  Description

object Required. A reference to a valid tree component object.

Remarks

A return value of:

Example

Dim treeNodeXml As String = String.Empty
If (ThisForm.Components("tree1").TreeIsCollapsing()) Then
   treeNodeXml = ThisForm.Components("tree1").TreeCollapsingNodeToXml()
End If