Skip to content
/ MyWpf Public

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.

License

Notifications You must be signed in to change notification settings

sandre58/MyWpf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

MyWpf MyXaml

My .NET WPF

MIT License GitHub Stars GitHub Forks GitHub Issues Last Commit Contributors Repo Size

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.

✨ Key Features

  • 🎨 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

Packages

Build Coverage C# .NET 8.0 .NET 9.0 .NET 10.0

Package Description NuGet
MyNet.Wpf πŸͺŸ Comprehensive WPF library with controls, theming, dialogs, notifications, and UI helpers for Windows desktop applications. NuGet
MyNet.Wpf.DragAndDrop πŸ–±οΈ Advanced drag-and-drop functionality with custom handlers, adorners, and file/calendar integration for WPF applications. NuGet
MyNet.Wpf.LiveCharts πŸ“ˆ WPF LiveCharts integration with custom formatters, series, and theming for beautiful data visualization. NuGet
MyNet.Wpf.Presentation πŸ“½οΈ MVVM presentation layer with controls, converters, models, and services for structured WPF applications. NuGet
MyNet.Wpf.Web 🌐 WPF web integration with browser controls and web view components for hybrid applications. NuGet
MyNet.Xaml.Html πŸ”„ XAML to HTML conversion utilities and helpers for cross-platform content rendering. NuGet

πŸš€ Getting Started

Prerequisites

  • .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

Installation

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.Html

Using 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.Html

Using PackageReference:

<PackageReference Include="MyNet.Wpf" Version="1.0.*" />
<PackageReference Include="MyNet.Wpf.DragAndDrop" Version="1.0.*" />
<PackageReference Include="MyNet.Wpf.LiveCharts" Version="1.0.*" />

Quick Examples

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/.

πŸ“ Repository Structure

  • src/ β€” Source code for all WPF packages:

    • MyNet.Wpf/ β€” Core WPF library with controls, theming, and UI helpers
    • MyNet.Wpf.DragAndDrop/ β€” Drag-and-drop functionality and handlers
    • MyNet.Wpf.LiveCharts/ β€” LiveCharts integration and chart components
    • MyNet.Wpf.Presentation/ β€” MVVM presentation layer and utilities
    • MyNet.Wpf.Web/ β€” Web integration and browser controls
    • MyNet.Xaml.Html/ β€” XAML to HTML conversion utilities
    • LiveCharts/ β€” Core LiveCharts libraries (LiveCharts, LiveCharts.Wpf)
  • demos/ β€” Example WPF applications showcasing library features

    • MyNet.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

πŸ› οΈ Development

Building from Source

# 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 pack

Demo Application

Explore the comprehensive demo application to see all WPF libraries in action:

# Run the WPF demo
dotnet run --project demos/MyNet.Wpf.Demo

Contributing

We welcome contributions! Please see our Contributing Guidelines and Code of Conduct for details on how to get involved.

πŸ“„ License

Copyright Β© 2016-2025 StΓ©phane ANDRE.

Distributed under the MIT License. See LICENSE for complete details.

About

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.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages