A comprehensive collection of WPF libraries and extensions for modern .NET desktop development (8.0, 9.0, and 10.0). This repository provides specialized WPF controls, theming, drag-and-drop functionality, LiveCharts integration, presentation helpers, web components, and XAML utilities to enhance Windows desktop applications.
- π¨ Advanced Theming & Styling - Complete theming system with Material Design integration
- πͺ Rich WPF Controls - Custom controls, dialogs, notifications, and UI helpers
- π±οΈ Drag & Drop - Advanced drag-and-drop functionality with custom handlers and adorners
- π Data Visualization - LiveCharts integration for beautiful, interactive charts
- ποΈ MVVM Architecture - Presentation layer utilities and MVVM pattern support
- π Web Integration - Browser controls and web view components for hybrid applications
- π XAML Utilities - XAML to HTML conversion and cross-platform content rendering
- π Production Ready - Battle-tested libraries used in real-world applications
| Package | Description | NuGet |
|---|---|---|
| MyNet.Wpf | πͺ Comprehensive WPF library with controls, theming, dialogs, notifications, and UI helpers for Windows desktop applications. | |
| MyNet.Wpf.DragAndDrop | π±οΈ Advanced drag-and-drop functionality with custom handlers, adorners, and file/calendar integration for WPF applications. | |
| MyNet.Wpf.LiveCharts | π WPF LiveCharts integration with custom formatters, series, and theming for beautiful data visualization. | |
| MyNet.Wpf.Presentation | π½οΈ MVVM presentation layer with controls, converters, models, and services for structured WPF applications. | |
| MyNet.Wpf.Web | π WPF web integration with browser controls and web view components for hybrid applications. | |
| MyNet.Xaml.Html | π XAML to HTML conversion utilities and helpers for cross-platform content rendering. |
- .NET 8.0, 9.0, or 10.0 - The libraries support the latest .NET versions
- Visual Studio 2022 (recommended for WPF development)
- Windows 10/11 - Required for WPF applications
- NuGet package manager
Install any WPF package via NuGet Package Manager, .NET CLI, or PackageReference:
Using .NET CLI:
# Core WPF library with controls and theming
dotnet add package MyNet.Wpf
# Advanced drag-and-drop functionality
dotnet add package MyNet.Wpf.DragAndDrop
# LiveCharts integration for data visualization
dotnet add package MyNet.Wpf.LiveCharts
# MVVM presentation helpers
dotnet add package MyNet.Wpf.Presentation
# Web integration components
dotnet add package MyNet.Wpf.Web
# XAML to HTML conversion
dotnet add package MyNet.Xaml.HtmlUsing Package Manager Console:
Install-Package MyNet.Wpf
Install-Package MyNet.Wpf.DragAndDrop
Install-Package MyNet.Wpf.LiveCharts
Install-Package MyNet.Wpf.Presentation
Install-Package MyNet.Wpf.Web
Install-Package MyNet.Xaml.HtmlUsing PackageReference:
<PackageReference Include="MyNet.Wpf" Version="1.0.*" />
<PackageReference Include="MyNet.Wpf.DragAndDrop" Version="1.0.*" />
<PackageReference Include="MyNet.Wpf.LiveCharts" Version="1.0.*" />Basic WPF Theming:
<!-- App.xaml -->
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MyNet.Wpf;component/Themes/MyNet.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>Drag & Drop Integration:
// Enable file drop handling
var dropHandler = new FileDropHandler();
myControl.AllowDrop = true;LiveCharts Data Visualization:
// Create a simple chart
var chartSeries = new ChartSerie<double>
{
Values = new[] { 1, 5, 3, 8, 2 },
Title = "Sample Data"
};For detailed usage examples and API references, explore the documentation in each package's directory under src/.
-
src/β Source code for all WPF packages:MyNet.Wpf/β Core WPF library with controls, theming, and UI helpersMyNet.Wpf.DragAndDrop/β Drag-and-drop functionality and handlersMyNet.Wpf.LiveCharts/β LiveCharts integration and chart componentsMyNet.Wpf.Presentation/β MVVM presentation layer and utilitiesMyNet.Wpf.Web/β Web integration and browser controlsMyNet.Xaml.Html/β XAML to HTML conversion utilitiesLiveCharts/β Core LiveCharts libraries (LiveCharts, LiveCharts.Wpf)
-
demos/β Example WPF applications showcasing library featuresMyNet.Wpf.Demo/β Comprehensive WPF demo application
-
assets/β Project logos, icons, and visual assets -
build/β MSBuild configuration and shared properties -
docs/β Documentation and contribution guidelines -
.github/β CI/CD workflows and GitHub automation
# Clone the repository
git clone https://github.com/sandre58/MyWpf.git
cd MyWpf
# Build all projects
dotnet build
# Run tests (if available)
dotnet test
# Create NuGet packages
dotnet packExplore the comprehensive demo application to see all WPF libraries in action:
# Run the WPF demo
dotnet run --project demos/MyNet.Wpf.DemoWe welcome contributions! Please see our Contributing Guidelines and Code of Conduct for details on how to get involved.
Copyright Β© 2016-2025 StΓ©phane ANDRE.
Distributed under the MIT License. See LICENSE for complete details.

