About
NVTreeDataGrid in the Data layer.
Related: NVDataGrid.
XAML with every attribute
Namespace xmlns:nv="http://nuvyntralabs.com/uikit". Kit attributes first, then inherited MAUI VisualElement / View members. Framework properties are the same on every NV* view and are not repeated in the official control reference.
xmlns:nv="http://nuvyntralabs.com/uikit"
<nv:NVTreeDataGrid
Columns="{Binding Columns}"
Rows="{Binding Rows}"
Filter="Filter"
SortKey="none"
SortDirection="none"
PageSize="0"
PageIndex="0"
FrozenColumnCount="0"
VisibleRows="VisibleRows"
Roots="{Binding Roots}"
IsVisible="True"
IsEnabled="True"
Margin="0"
HorizontalOptions="Fill"
VerticalOptions="Fill"
BindingContext="{Binding}" />Attributes
custom names are Lumina API. Unmarked names match familiar MAUI / forms usage.
| Attribute | Type | Default | Kind | Explanation |
|---|---|---|---|---|
Columns | IList | — | custom | Header, Binding, Key alias, Sortable, Frozen |
Rows | IList<IDictionary<string, object?>> | — | custom | Grid row dictionaries keyed by column Binding / Key. |
Filter | string | "" | familiar | "" case-insensitive cell match |
SortKey | string | none | familiar | none header tap cycles none → asc → desc |
SortDirection | NVSortDirection | none | familiar | none header tap cycles none → asc → desc |
PageSize | int | 0 | familiar | 0 / 0 0 page size shows all; pager when > 0 |
PageIndex | int | 0 | familiar | 0 / 0 0 page size shows all; pager when > 0 |
FrozenColumnCount | int | 0 | familiar | 0 plus per-column Frozen |
VisibleRows | computed | — | familiar | filtered / sorted / paged |
Roots | IList | — | familiar | flatten + Expand once |
Inherited MAUI attributes
Every NV* view also inherits MAUI ContentView / VisualElement members. Those are framework properties.
| Attribute | Type | Default | Explanation |
|---|---|---|---|
IsVisible | bool | true | MAUI VisualElement. Hide the control without removing it from the tree. |
IsEnabled | bool | true | MAUI VisualElement. When false, the control ignores input and uses the Disabled visual state. |
Margin | Thickness | 0 | MAUI View. Outer gap around the control. Use NVTokens.Space* for Lumina rhythm. |
HorizontalOptions | LayoutOptions | Fill | MAUI View. Horizontal alignment in the parent (Start, Center, End, Fill). |
VerticalOptions | LayoutOptions | Fill | MAUI View. Vertical alignment in the parent. |
BindingContext | object? | inherited | MAUI BindableObject. Source for {Binding …} paths on this subtree. |
Typical usage
Short sample from the official control reference — not every attribute.
<nv:NVDataGrid />