CdCSharp.Pangea.Core 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package CdCSharp.Pangea.Core --version 1.0.0
                    
NuGet\Install-Package CdCSharp.Pangea.Core -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="CdCSharp.Pangea.Core" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CdCSharp.Pangea.Core" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="CdCSharp.Pangea.Core" />
                    
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 CdCSharp.Pangea.Core --version 1.0.0
                    
#r "nuget: CdCSharp.Pangea.Core, 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 CdCSharp.Pangea.Core@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=CdCSharp.Pangea.Core&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=CdCSharp.Pangea.Core&version=1.0.0
                    
Install as a Cake Tool

Pangea Toolkit for Avalonia

A modern toolkit for Avalonia UI that simplifies MVVM development through code generation and advanced functional analysis.

Installation

dotnet add package CdCSharp.Pangea

Quick Start

1. Setup your Application

// Program.cs
public static AppBuilder BuildAvaloniaApp()
    => AppBuilder.Configure<App>()
        .UsePlatformDetect()
        .UsePangea();

// App.axaml.cs
public partial class App : PangeaApplication
{
    public override void Initialize() => AvaloniaXamlLoader.Load(this);
}

2. Create a ViewModel

public partial class MainWindowViewModel : ViewModelBase
{
    [Binding] 
    private string _searchText = "";
    
    [Binding(ReadOnly = true)]
    private ObservableCollection<Item> _items = new();
    
    public RelayCommand SearchCommand => CreateCommand(
        ExecuteSearch, 
        () => !string.IsNullOrEmpty(SearchText)
    );
    
    partial void OnSearchTextChanged()
    {
        // Called automatically when SearchText changes
        FilterItems();
    }
    
    private async Task ExecuteSearch()
    {
        // Your search logic
    }
}

Features

  • Automatic Property Generation: Use [Binding] attribute on fields
  • Smart Notifications: Automatic INotifyPropertyChanged implementation
  • Dependency Analysis: Automatically notifies dependent properties and commands
  • Window Management: Built-in window lifecycle management
  • Type-Safe Navigation: Parameter-based navigation system

Requirements

  • .NET 9.0+
  • Avalonia UI 11.3+

License

MIT License - see LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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 (5)

Showing the top 5 NuGet packages that depend on CdCSharp.Pangea.Core:

Package Downloads
CdCSharp.Pangea

Modern Avalonia ToolKit with MVVM, Binding, Theming and Storage features

CdCSharp.Pangea.Binding

Binding feature for CdCSharp.Pangea - Auto-generates properties from fields with [Binding] attribute

CdCSharp.Pangea.Theming

Theming feature for CdCSharp.Pangea - Dynamic theme switching with Simple UI

CdCSharp.Pangea.Storage

Storage feature for CdCSharp.Pangea - Cross-platform file and data storage

CdCSharp.Pangea.Localization

Localization feature for CdCSharp.Pangea - Multi-language support with resource management

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.34 159 8/30/2025
1.0.33 162 8/29/2025
1.0.32 184 8/26/2025
1.0.31 205 8/26/2025
1.0.30 202 8/26/2025
1.0.29 156 8/25/2025
1.0.28 202 8/24/2025
1.0.27 203 8/24/2025
1.0.26 203 8/24/2025
1.0.25 202 8/24/2025
1.0.23 203 8/24/2025
1.0.22 64 8/23/2025
1.0.20 65 8/23/2025
1.0.19 67 8/23/2025
1.0.18 62 8/23/2025
1.0.17 65 8/23/2025
1.0.9 126 8/21/2025
1.0.6 123 8/21/2025
1.0.5 126 8/21/2025
1.0.4 124 8/21/2025
1.0.0 125 8/21/2025