Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectory.ExpandButtons Property

Defines whether expand buttons are shown.

Syntax

Get

VB.NETStyle = object.ExpandButtons As SftDirectoryExpandButtonConstants
VBStyle = object.ExpandButtons As SftDirectoryExpandButtonConstants
C#.NETSftDirectoryExpandButtonConstants Style = object.ExpandButtons;
VC++enum SftDirectoryExpandButtonConstants Style = object->ExpandButtons;
enum SftDirectoryExpandButtonConstants Style = object->GetExpandButtons();
CHRESULT object->get_ExpandButtons(enum SftDirectoryExpandButtonConstants* Style);

Put

VB.NETobject.ExpandButtons = Style As SftDirectoryExpandButtonConstants
VBobject.ExpandButtons = Style As SftDirectoryExpandButtonConstants
C#.NETSftDirectoryExpandButtonConstants object.ExpandButtons = Style;
VC++enum SftDirectoryExpandButtonConstants object->ExpandButtons = Style;
void object->PutExpandButtons(enum SftDirectoryExpandButtonConstants Style);
CHRESULT object->put_ExpandButtons(enum SftDirectoryExpandButtonConstants Style);

object

A SftDirectory object.

Style

Defines whether expand buttons are shown.

StyleValueDescription
expandSftDirectoryNone0No expand buttons are shown.
expandSftDirectoryAll1Expand buttons are shown for all folders that can be expanded.
expandSftDirectoryNonRoot2Expand buttons are shown for all folders, that can be expanded, except the root folder.

Comments

The ExpandButtons property defines whether expand buttons are shown.

The end-user can click on the expand button to expand a folder to view its subfolders.

A folder may show an expand button, even though the folder has no subfolders. This can occur if the process of determining whether a folder has subfolders is too time consuming. In this case an expand button is shown. It is removed once the user attempts to expand the folder and it is determined that the folder has no displayable contents.

See Also SftDirectory Object | Object Hierarchy


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