|
|
|
SftDirectoryFolder.Collapse Method |
Collapses the folder (hides child folders).
Syntax
VB.NET |
object.Collapse(ByVal Delete As Boolean) |
||
VB |
object.Collapse(ByVal Delete As Boolean) |
||
C#.NET |
void object.Collapse(bool Delete); |
||
VC++ |
HRESULT object->Collapse(VARIANT_BOOL Delete); |
||
C |
HRESULT object->raw_Collapse(VARIANT_BOOL Delete); |
||
Delphi |
procedure object.Collapse(Delete : WordBool); |
object
A SftDirectoryFolder object.
Delete
Defines how child folders are handled, temporarily overriding the current DeleteOnCollapse property settings.
Delete |
Description |
True |
The child files/folders are removed from the control's contents. |
False |
The child files/folders are not removed from the control's contents, instead they are simply hidden. |
Comments
The Collapse method collapses the folder (hides child folders).
The Collapse method has no effect in a DetailList-style control (see ControlStyle property).
Depending on the settings of the DeleteOnCollapse settings, the file/folder entries shown are deleted and need to be retrieved again, if the parent folders are expanded.
The FolderCollapsed event occurs when a folder is collapsed.