Tritium UI
TritiumPivotFieldList
Assign source fields to pivot rows, columns, and values without writing layout code.
Key features
- List available fields and move them into Rows, Columns, or Values.
- Share those three collections with a TritiumPivotGrid so the matrix stays in sync.
- Suggest field names from the first object's public properties.
- Tap a chip to send it back to Available.
- Cycle a value field's aggregate (sum, count, average, min, max) with a long-press or secondary tap.
- Start from an empty layout and let the user build the pivot.
Platforms
Android, iOS, Mac Catalyst, and Windows 10 version 19041 and later (.NET 10 MAUI).
Main API
- AvailableFields . Field names or PivotField items not yet assigned.
- RowFields . Fields used as row headers.
- ColumnFields . Fields used as column headers.
- ValueFields . Measures, each with an aggregate.
Basic example
Declare this namespace on the page.
xmlns:pivot="clr-namespace:Tritium.Maui.Pivot;assembly=Tritium.Maui.Pivot"
<pivot:TritiumPivotFieldList x:Name="Fields"
RowFields="{Binding Rows}"
ColumnFields="{Binding Columns}"
ValueFields="{Binding Values}" /> Add the package source from your license, then reference the package that includes this control. These packages are not on the public NuGet Gallery.