ListBox.Expanded


Warning

This item was deprecated in version 2019r2. Please use DesktopListBox.RowExpandedAt as a replacement.

Description

Used to get or set the Expanded state of the row passed.

Notes

The row must have been added with the AddFolder method.

Sample code

This example expands the first row of ListBox1 (if it is collapsed) or collapses it (if it was Expanded). The row must have been added with the AddFolder method:

ListBox1.Expanded(1) = Not ListBox1.Expanded(1)

Compatibility

All projects types on all supported operating systems.