DesktopListBoxRow.ColumnCount

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aDesktopListBoxRow.ColumnCount

New in 2021r3

Supported for all project types and targets.

Returns the number of columns in the row.