HopDev.Tree.EntityFramework.SqlServer
2.0.0
See the version list below for details.
dotnet add package HopDev.Tree.EntityFramework.SqlServer --version 2.0.0
NuGet\Install-Package HopDev.Tree.EntityFramework.SqlServer -Version 2.0.0
<PackageReference Include="HopDev.Tree.EntityFramework.SqlServer" Version="2.0.0" />
<PackageVersion Include="HopDev.Tree.EntityFramework.SqlServer" Version="2.0.0" />
<PackageReference Include="HopDev.Tree.EntityFramework.SqlServer" />
paket add HopDev.Tree.EntityFramework.SqlServer --version 2.0.0
#r "nuget: HopDev.Tree.EntityFramework.SqlServer, 2.0.0"
#:package HopDev.Tree.EntityFramework.SqlServer@2.0.0
#addin nuget:?package=HopDev.Tree.EntityFramework.SqlServer&version=2.0.0
#tool nuget:?package=HopDev.Tree.EntityFramework.SqlServer&version=2.0.0
HopDev.Tree
A cross-platform hierarchical tree control for .NET MAUI, Avalonia, WPF, and Blazor with built-in database persistence, CRUD operations, drag-and-drop, search, checkboxes, accessibility, and localization.
Key Features
- Items within nodes — dual entity model (folders + items) in a single tree
- Database-first — built-in EF Core persistence (SQLite, SQL Server, PostgreSQL, MySQL, Oracle)
- 4 platforms, 1 ViewModel — shared
TreeViewModelacross MAUI, Avalonia, WPF, and Blazor - Built-in CRUD — add/rename/delete via context menus with validation hooks
- Drag-and-drop — internal reorder + external drop support
- Search — highlight and filter modes, scoped to nodes/items/both, with next/previous navigation
- Checkboxes — three-state, cascading, scoped, with database persistence
- Theming — Light, Dark, High Contrast, System, per-control theming, 15 color tokens
- Accessibility — MAUI SemanticProperties, Avalonia AutomationProperties, Blazor ARIA (15+ attributes), AutomationIds
- Localization — 22 strings via
ITreeStringProvider, runtime language switch, RTL support, 6 sample languages - Font tokens —
TreeFontSize,TreeFontFamily,KioskFontScale - Kiosk mode — touch-optimized with larger hit targets
- ILogger integration — structured logging with 4 severity levels and exception capture
Solution Structure
HopDev.Tree.slnx
├── src/
│ ├── HopDev.Tree.Core Core models, enums, abstractions
│ ├── HopDev.Tree.UI Shared ViewModels, services, business logic
│ ├── HopDev.Tree.EntityFramework EF Core repositories and unit of work
│ ├── HopDev.Tree.EntityFramework.* Provider packages (Sqlite, SqlServer, PostgreSql, MySql, Oracle)
│ ├── HopDev.Tree.Maui .NET MAUI tree control
│ ├── HopDev.Tree.Avalonia Avalonia tree control
│ ├── HopDev.Tree.Wpf WPF tree control
│ └── HopDev.Tree.Web Blazor tree control
├── samples/
│ ├── HopDev.Tree.Sample MAUI sample app
│ ├── HopDev.Tree.Avalonia.Sample Avalonia sample app
│ └── HopDev.Tree.Wpf.Sample WPF sample app
├── tests/
│ └── HopDev.Tree.Tests 397 unit tests
└── docs/ Architecture, API, guides, ADRs, designs
Quick Start
MAUI
<ct:TreeControl x:Name="TreeControl"
HierarchyName="MyApp"
SubsystemName="Documents" />
TreeControl.Initialize(unitOfWork, actions);
await TreeControl.LoadAsync();
Avalonia
<tree:TreeControl x:Name="TreeControl" />
TreeControl.Initialize(unitOfWork, actions);
await TreeControl.LoadAsync();
Blazor
<TreeControl HierarchyName="MyApp" SubsystemName="Documents"
UnitOfWork="@unitOfWork" Actions="@actions" />
License
MIT
WPF
<tree:TreeControl x:Name="TreeControl" />
TreeControl.Initialize(unitOfWork, actions);
await TreeControl.LoadAsync();
| Product | Versions 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. |
-
net10.0
- HopDev.Tree.EntityFramework (>= 2.0.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 10.0.2)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on HopDev.Tree.EntityFramework.SqlServer:
| Package | Downloads |
|---|---|
|
HopDev.Tree.Web
A Blazor hierarchical tree control with drag-and-drop, context menus, search, checkboxes, virtualization, and theming support. Built on HopDev.Tree.Core with Entity Framework integration. |
|
|
HopDev.Tree.Avalonia
An Avalonia hierarchical tree control with drag-and-drop, context menus, search, checkboxes, and theming support. Built on HopDev.Tree.Core with Entity Framework integration. |
|
|
HopDev.Tree.Maui
A .NET MAUI Hierarchical Tree Control with Entity Framework support. Features drag-and-drop, context menus, theming, kiosk mode, and touch support. This is the main package - it includes HopDev.Tree.Core and HopDev.Tree.EntityFramework. |
|
|
HopDev.Tree.Wpf
WPF tree control with built-in CRUD, database persistence, drag-drop, search, checkboxes, themes, accessibility, and localization. Part of the HopDev.Tree cross-platform tree control family. |
GitHub repositories
This package is not used by any popular GitHub repositories.