GKit.UI.Abstractions 1.0.0

dotnet add package GKit.UI.Abstractions --version 1.0.0
                    
NuGet\Install-Package GKit.UI.Abstractions -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GKit.UI.Abstractions" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GKit.UI.Abstractions" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="GKit.UI.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GKit.UI.Abstractions --version 1.0.0
                    
#r "nuget: GKit.UI.Abstractions, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package GKit.UI.Abstractions@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GKit.UI.Abstractions&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=GKit.UI.Abstractions&version=1.0.0
                    
Install as a Cake Tool

GKit.UI.Abstractions

UI-neutral contracts shared by the MudBlazor and Radzen GKit adapters. This package ships no components and references no component library.

An application normally references an adapter (GKit.UI.MudBlazorExt or GKit.UI.RadzenExt) rather than this package directly. Reference it on its own when you want to write code - query factories, report dialogs, row-control descriptors - that compiles against either adapter.

Grid state

GridQuery<T>, GridPage<T>, GridFilterSet<T>, GridFilter, GridSort replace the component-library grid state types.

// Works under either adapter
private async Task<GridPage<Company>> LoadAsync(GridQuery<Company> state, CancellationToken token)
{
  var query = state.ApplyFilters(ctx.Set<Company>());
  var total = await query.CountAsync(token);

  return new GridPage<Company>
  {
    TotalItems = total,
    Items = await state.ApplySorts(query).Skip(state.StartIndex).Take(state.Count).ToListAsync(token)
  };
}

GridFilterSet<T>.Apply runs a delegate the adapter captured from its own library, so filtering behaves exactly as that library intends. Filters and Sorts are neutral projections for inspection and logging - pass a GridFilterSet<T> to a report dialog instead of a library-specific filter definition list.

Shell services

IUiNotifier, IUiDialogs, IUiDialogHost, IUiFormHandle, IUiLookupHandle<T> abstract snackbars, dialogs and form validation. Each adapter registers its own implementations.

Entities and validation

IEditEntityDialog<T>, IEditEntityForm<T>, NewValueResult<N> and AbstractValidatorBase<T> are shared unchanged between adapters - your validators and dialog subclasses compile against both.

Theming

UiColor, UiIcon and IUiIconSet cover what GKit's own components render. Anything outside the shared icon set goes through GridRowControl<T>.IconOverride as a library-native identifier.

Localization

IGKitUiStrings declares every string GKit renders, as named members so a missing translation is a compile error. DefaultUiStrings supplies English. Reference GKit.UI.Localization for culture-aware resources including Italian.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on GKit.UI.Abstractions:

Package Downloads
GKit.UI.Data

UI-neutral EF Core grid, CRUD and export engine shared by the GKit UI adapters

GKit.UI.MudBlazorExt

MudBlazor adapter for the GKit UI components

GKit.UI.Localization

Culture-aware strings for the GKit UI components (neutral English, Italian)

GKit.UI.RadzenExt

Radzen adapter for the GKit UI components

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 99 9/23/2026