property PropertiesList.HasButtons as ExpandButtonEnum
Adds a button to the left side of each parent item. The user can click the button to expand or collapse the child items as an alternative to double-clicking the parent item.

TypeDescription
ExpandButtonEnum An ExpandButtonEnum expression that indicates whether the left side button of each parent item is visible or hidden.
By default, the HasButtons property is exPlus. The HasButtons property defines the visual appearance for the expanding/collapsing buttons. The HasButtonsCustom property specifies the index of icons being used for +/- signs on parent items, when HasButtons property is exCustom.

The following VB sample changes the +/- button appearance:

With PropertiesList1
    .HasButtons = ExpandButtonEnum.exWPlus
End With

The following C++ sample changes the +/- button appearance:

m_PropertiesList.SetHasButtons( 3 /*exWPlus*/ );

The following VB.NET sample changes the +/- button appearance:

With AxPropertiesList1
    .HasButtons = EXPROPERTIESLISTLib.ExpandButtonEnum.exWPlus
End With

The following C# sample changes the +/- button appearance:

axPropertiesList1.HasButtons = EXPROPERTIESLISTLib.ExpandButtonEnum.exWPlus;

The following VFP sample changes the +/- button appearance:

with thisform.PropertiesList1
	.HasButtons = 3 && exWPlus
endwith