DesktopListBox.RowExpandedAt

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aDesktopListBox.RowExpandedAt(row as Integer) = newBooleanValue
or
BooleanValue = aDesktopListBox.RowExpandedAt(row as Integer)

New in 2021r3

Supported for all project types and targets.

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

Notes

The row must have been added with the AddExpandableRow method.

Example

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 AddExpandableRow method:

ListBox1.RowExpandedAt(1) = Not ListBox1.RowExpandedAt(1)