LazyApiPack.XmlTools.Wpf 0.1.7.2

dotnet add package LazyApiPack.XmlTools.Wpf --version 0.1.7.2
                    
NuGet\Install-Package LazyApiPack.XmlTools.Wpf -Version 0.1.7.2
                    
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="LazyApiPack.XmlTools.Wpf" Version="0.1.7.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LazyApiPack.XmlTools.Wpf" Version="0.1.7.2" />
                    
Directory.Packages.props
<PackageReference Include="LazyApiPack.XmlTools.Wpf" />
                    
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 LazyApiPack.XmlTools.Wpf --version 0.1.7.2
                    
#r "nuget: LazyApiPack.XmlTools.Wpf, 0.1.7.2"
                    
#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.
#addin nuget:?package=LazyApiPack.XmlTools.Wpf&version=0.1.7.2
                    
Install LazyApiPack.XmlTools.Wpf as a Cake Addin
#tool nuget:?package=LazyApiPack.XmlTools.Wpf&version=0.1.7.2
                    
Install LazyApiPack.XmlTools.Wpf as a Cake Tool

About this project

If this package helps you, please consider buying me a coffee https://ko-fi.com/thelazycrazybrain

This library provides support for WPF specific type serialization.

How to serialize with WPF support

var model = new SimpleDataModel();

new ExtendedXmlSerializer<SimpleDataModel>()
	.UseWpfTypeSupport()
	.Serialize(model, "[PathToFile]");

How to deserialize with WPF support

var model = new ExtendedXmlSerializer<SimpleDataModel>()
	.UseWpfTypeSupport()
	.Deserialize("[PathToFile]");

Supported Types

  • PointCollection
  • Point
  • Brush
  • Color
  • StrokeCollection
  • Thickness
  • BitmapImage
  • Rect
  • DrawingAttributes
  • StylusPointCollection
  • TextDecoration
  • Pen
  • DashStyle
  • MatrixTransform
  • RotateTransform
  • ScaleTransform
  • SkewTransform
  • TranslateTransform
Product Compatible and additional computed target framework versions.
.NET net9.0-windows7.0 is compatible.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.7.2 52 6/1/2025
0.1.7.1 223 5/22/2023
0.1.7 407 12/4/2022 0.1.7 is deprecated because it has critical bugs.
0.1.4 362 11/18/2022
0.1.2 375 11/15/2022
0.1.1 370 11/15/2022
0.0.1 406 11/3/2022

Bugfixes, Framework update