C# Typings for the .NET/Blazor Adapter
Provides strongly typed C# models for options, columns, events and the grid API, used by the Blazor adapter. .NET teams get IntelliSense and compile-time safety equivalent to the TypeScript experience.
Planned. This page shows the specification from issue #210. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A side-by-side view of C# and TypeScript definitions for the same grid. The rendered grid comes from a WebAssembly-hosted sample.
Expected behavior
The mapping table shows a one-to-one correspondence between TS and C# options. The grid behaves identically in both cases.
Planned API surface
WarGrid<TRow>WarGridOptions<TRow>ColumnDef<TRow>Field(Expression<Func<TRow,object>>)IGridApi<TRow>EventCallback<CellClickedArgs<TRow>>Acceptance criteria
- Every public TS option has a documented C# counterpart, or a documented exclusion (pending)
- Expression-based fields resolve to the same path strings as TS (pending)
- Nullable annotations are correct under <Nullable>enable</Nullable> (pending)
- The typing mapping is generated and checked in CI for drift (pending)