BCGControlBar Library for .NET
Collapse(GroupNode,Boolean,Boolean,Boolean) Method




Specifies group node (row) to collapse.
Specifies whether the group node (row) should be expanded (false) or collapsed (true).
Specifies whether sub-nodes should be expanded or collapsed.
Specifies whether to raise the GridLayoutChanged event.
Collapses a group node and raises layout changed event if necessary.
Syntax
'Declaration
 
Public Overloads Sub Collapse( _
   ByVal node As GroupNode, _
   ByVal collapse As Boolean, _
   ByVal withSubNodes As Boolean, _
   ByVal raiseLayoutChanged As Boolean _
) 
'Usage
 
Dim instance As GridData
Dim node As GroupNode
Dim collapse As Boolean
Dim withSubNodes As Boolean
Dim raiseLayoutChanged As Boolean
 
instance.Collapse(node, collapse, withSubNodes, raiseLayoutChanged)
public void Collapse( 
   GroupNode node,
   bool collapse,
   bool withSubNodes,
   bool raiseLayoutChanged
)
public: void Collapse( 
   GroupNode* node,
   bool collapse,
   bool withSubNodes,
   bool raiseLayoutChanged
) 
public:
void Collapse( 
   GroupNode^ node,
   bool collapse,
   bool withSubNodes,
   bool raiseLayoutChanged
) 

Parameters

node
Specifies group node (row) to collapse.
collapse
Specifies whether the group node (row) should be expanded (false) or collapsed (true).
withSubNodes
Specifies whether sub-nodes should be expanded or collapsed.
raiseLayoutChanged
Specifies whether to raise the GridLayoutChanged event.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridData Class
GridData Members
Overload List

Send Feedback