Form

GPALListView

GPALListView renders a table-style list with multiple rows and columns, similar to a Windows ListView or DataGridView. Populate it with FillInFrom using an IGPALGrid<string> where each row becomes a list item. The user can select one or more rows. Selected values are captured in the form data output.

Examples

GPAL Fluent: High-level fluent C# API

//GPALListView is suited for forms where the user needs to pick from a set of loaded data records. Use FillInFrom with a grid to populate it - each grid row becomes one visible row in the list.

// List view populated from a grid

GPAL.Form

.WithTitle("Select Records")

.WithFormControl((ListView)GPAL.ListView

.WithText("Available Records"))

.FillInFrom(recordsGrid)

.ShowDialog();

💬 Ask GPAL