SftTree/NET 2.0

ExpandCollapseButton Property, ItemClass Class

Softel vdm, Inc.

Defines the expand/collapse button style.

Syntax      ItemClass Class (Softelvdm.SftTreeNET)

VB   

Public Property ExpandCollapseButton As ExpandCollapseButtonStyleEnum

C#   

public ExpandCollapseButtonStyleEnum ExpandCollapseButton { get; set; }

C++   

public: property ExpandCollapseButtonStyleEnum ExpandCollapseButton {
        ExpandCollapseButtonStyleEnum get();
        void set(ExpandCollapseButtonStyleEnum value);
}

Property Value

The expand/collapse button.

ExpandCollapseButtonStyleEnum

Value

Description

Conditional

0

The expand/collapse button is only shown if the item has dependents.

Show

1

The expand/collapse button is always shown even if the item does not have dependents. An application can dynamically add dependents when the ItemClick event occurs.

Hide

2

Never show the expand/collapse button even if the item has dependents.

The default value is ExpandCollapseButtonStyleEnum.Conditional.

Comments

The ExpandCollapseButton property defines the expand/collapse button style.

This method can only be used for items in the item area.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com