ClaudTree.EntityFramework.PostgreSql
1.0.0
dotnet add package ClaudTree.EntityFramework.PostgreSql --version 1.0.0
NuGet\Install-Package ClaudTree.EntityFramework.PostgreSql -Version 1.0.0
<PackageReference Include="ClaudTree.EntityFramework.PostgreSql" Version="1.0.0" />
<PackageVersion Include="ClaudTree.EntityFramework.PostgreSql" Version="1.0.0" />
<PackageReference Include="ClaudTree.EntityFramework.PostgreSql" />
paket add ClaudTree.EntityFramework.PostgreSql --version 1.0.0
#r "nuget: ClaudTree.EntityFramework.PostgreSql, 1.0.0"
#:package ClaudTree.EntityFramework.PostgreSql@1.0.0
#addin nuget:?package=ClaudTree.EntityFramework.PostgreSql&version=1.0.0
#tool nuget:?package=ClaudTree.EntityFramework.PostgreSql&version=1.0.0
π³ ClaudTree
A .NET MAUI hierarchical tree control with built-in database persistence.
ClaudTree is the only .NET MAUI tree control that combines a full-featured UI with integrated Entity Framework Core support for automatic data persistence. No more building your own data access layer.
β¨ Key Features
| Feature | Description |
|---|---|
| Database Persistence | Built-in EF Core with SQLite, SQL Server, PostgreSQL, Oracle |
| Auto-Create Tables | Call one method to create all required tables |
| Checkbox Selection | Two-state and three-state with cascading |
| Checkbox Persistence | Checkbox states saved to database automatically |
| Search & Filter | Filter mode (hide) or highlight mode with navigation |
| Drag & Drop | Internal reordering and external drop support |
| Custom Menus | Full control over Add/Delete/Rename dialogs via hooks |
| Theming | Light, Dark, and System theme support |
| Cross-Platform | Windows, macOS, iOS, Android |
π Quick Start
1. Install the Package
dotnet add package ClaudTree.Maui
2. Configure Services
// MauiProgram.cs
using ClaudTree.EntityFramework.Sqlite.Extensions;
using ClaudTree.Maui.Extensions;
builder.Services.AddClaudTreeSqlite(options =>
{
options.UseSqlite("Data Source=myapp.db");
options.AutoCreateTables = true;
});
builder.Services.AddClaudTreeMaui();
3. Add to XAML
<ContentPage xmlns:ct="clr-namespace:ClaudTree.Maui.Controls;assembly=ClaudTree.Maui">
<ct:ClaudTreeControl x:Name="TreeControl"
HierarchyId="{Binding HierarchyId}"
SubsystemName="MyApp"
CheckboxMode="Enabled"
ShowInternalSearchBar="True" />
</ContentPage>
4. Initialize
public partial class MainPage : ContentPage
{
public MainPage(IClaudTreeUnitOfWork unitOfWork, IClaudTreeActions actions)
{
InitializeComponent();
TreeControl.Initialize(unitOfWork, actions);
}
protected override async void OnAppearing()
{
base.OnAppearing();
await TreeControl.LoadAsync();
}
}
π¦ NuGet Packages
| Package | Description |
|---|---|
ClaudTree.Maui |
Main package - includes everything |
ClaudTree.Core |
Core models and interfaces |
ClaudTree.EntityFramework |
Base EF Core implementation |
ClaudTree.EntityFramework.Sqlite |
SQLite provider |
ClaudTree.EntityFramework.SqlServer |
SQL Server provider |
ClaudTree.EntityFramework.PostgreSql |
PostgreSQL provider |
ClaudTree.EntityFramework.Oracle |
Oracle provider |
π Why ClaudTree?
| Aspect | Commercial Controls | ClaudTree |
|---|---|---|
| Database Integration | β None | β Built-in |
| Checkbox Persistence | β UI Only | β Saved to DB |
| Custom Add Item Dialog | β Limited | β Full Control |
| Cost (5 devs, 5 years) | ~$30,000 | $0 |
| Time to Implement | Weeks | Minutes |
π Documentation
- Getting Started Guide
- Database Setup
- Checkbox Feature
- Search Feature
- Customizing Menus
- API Reference
- Architecture
- Full Documentation Index
ποΈ Supported Databases
- β SQLite - Perfect for mobile and desktop apps
- β SQL Server - Enterprise multi-user scenarios
- β PostgreSQL - Cross-platform enterprise
- β Oracle - Enterprise environments
- βΈοΈ MySQL - Waiting for .NET 10 driver support
π― Use Cases
- File/Folder Management - Document libraries, asset managers
- Permission Trees - Role-based access control UI
- Task Lists - Hierarchical todo lists with completion tracking
- Category Management - Product catalogs, content organization
- Bookmark Managers - Hierarchical bookmark storage
- Password Vaults - Organized credential storage
ποΈ Sample Applications
The samples/ClaudTree.Sample project includes three working demos:
- Main Demo - Full feature showcase with all bindable properties
- Bookmarks - Browser bookmark manager with favicon fetching
- Secrets - Password vault with master password protection
π€ Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π₯ Contributors
- Alan Stratton
- Claude.ai
- Open Source Community
ClaudTree v1.0 - February 2026
| 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
- ClaudTree.EntityFramework (>= 1.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 10.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ClaudTree.EntityFramework.PostgreSql:
| Package | Downloads |
|---|---|
|
ClaudTree.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 ClaudTree.Core and ClaudTree.EntityFramework. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 49 | 2/4/2026 |