HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

ButtonExpanded Property, SftTree Object

Defines the expand/collapse button image for an expanded parent item.

Syntax

Get

VB.NETrefImageObj = object.ButtonExpanded As SftPictureObject
VBSet refImageObj = object.ButtonExpanded As SftPictureObject
C#.NETSftPictureObject refImageObj = object.ButtonExpanded;
VC++ISftPictureObject* refImageObj = object->ButtonExpanded;
ISftPictureObject* refImageObj = object->GetButtonExpanded();
CHRESULT object->get_ButtonExpanded(ISftPictureObject** refImageObj);

Put

VB.NETobject.ButtonExpanded = refImageObj As SftPictureObject
VBobject.ButtonExpanded = refImageObj As SftPictureObject
C#.NETSftPictureObject object.ButtonExpanded = refImageObj;
VC++ISftPictureObject* object->ButtonExpanded = refImageObj;
void object->PutButtonExpanded(ISftPictureObject* refImageObj);
CHRESULT object->put_ButtonExpanded(ISftPictureObject* refImageObj);

object

A SftTree object.

refImageObj

Defines the expand/collapse button image for an expanded parent item.

Comments

The ButtonExpanded property defines the expand/collapse button image for an expanded parent item.

User-defined expand/collapse button images are only used if the ButtonAppearance property is set to buttonsSftTreeUserImages and at least the ButtonExpanded and ButtonCollapsed properties define valid images.

Sample bitmaps for expand/collapse buttons are provided in the directory \Program Files\Softelvdm\SftTree OCX 8.0\Images.

Examples

VB6

      ScrollbarStyle  =   0
      ShowTruncated   =   1
      VAlignStyle     =   0
      VirtualMode     =   0
      WebLicense      =   ""
      SmoothScroll    =   1
      ButtonAppearance=   -1
      MouseOverTransitionEffect=   4
      BeginProperty ButtonExpanded {980702E2-0AB6-41B1-9B85-F8755A697255} 
         Object.Height          =   0
         Object.Width           =   0
         Appearance      =   -1
         FrameColor      =   -1
         SampleColor     =   -1
         Image           =   "Form1.frx":0000
      EndProperty

See Also SftTree Object | Object Hierarchy


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.