Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectory.DeleteOnCollapse Property

Defines whether files or folders are removed as a parent folder is collapsed.

Syntax

Get

VB.NETBoolean = object.DeleteOnCollapse As Boolean
VBBoolean = object.DeleteOnCollapse As Boolean
C#.NETbool Boolean = object.DeleteOnCollapse;
VC++VARIANT_BOOL Boolean = object->DeleteOnCollapse;
VARIANT_BOOL Boolean = object->GetDeleteOnCollapse();
CHRESULT object->get_DeleteOnCollapse(VARIANT_BOOL* Boolean);

Put

VB.NETobject.DeleteOnCollapse = Boolean As Boolean
VBobject.DeleteOnCollapse = Boolean As Boolean
C#.NETbool object.DeleteOnCollapse = Boolean;
VC++VARIANT_BOOL object->DeleteOnCollapse = Boolean;
void object->PutDeleteOnCollapse(VARIANT_BOOL Boolean);
CHRESULT object->put_DeleteOnCollapse(VARIANT_BOOL Boolean);

object

A SftDirectory object.

Boolean

Defines whether files or folders are removed as a parent folder is collapsed.

BooleanDescription
TrueFolders are removed from the control when a branch is collapsed. When the same branch is expanded again, the folder list is reloaded.
FalseFolders are not removed from the control when a branch is collapsed, they are simply hidden. When the same branch is expanded again, the folder list is not reloaded. Depending on the AutoReload property settings, the list may be refreshed as changes occur, even if the branch is collapsed.

Comments

The DeleteOnCollapse property defines whether files or folders are removed as a parent folder is collapsed.

See Also SftDirectory Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.