SelectionMode

enum class SelectionMode
kotlin.Any
   ↳ kotlin.Enum<androidx.ui.core.selection.SelectionMode>
   ↳ androidx.ui.core.selection.SelectionMode

The enum class allows user to decide the selection mode.

Summary

Enum values

When selection handles are dragged across composables, selection extends by column, for example, when the end selection handle is dragged to the right, left columns will be selected first, and the right rows.

When selection handles are dragged across composables, selection extends by row, for example, when the end selection handle is dragged down, upper rows will be selected first, and the lower rows.

Enum values

Horizontal

enum val Horizontal : SelectionMode

When selection handles are dragged across composables, selection extends by column, for example, when the end selection handle is dragged to the right, left columns will be selected first, and the right rows.

Vertical

enum val Vertical : SelectionMode

When selection handles are dragged across composables, selection extends by row, for example, when the end selection handle is dragged down, upper rows will be selected first, and the lower rows.