LazyApiPack.XmlTools.Wpf
0.1.7
If a culture was set during serialization, the Point Serializer serializes the value correctly in the given culture, the deserialization process (loading the file) might fail if the culture differs (Point.Parse does not support globalization). If you've already used Point with this or previous versions of this package, you have to create a Converter to update the point section in your xml. See documentation for further information.
See the version list below for details.
dotnet add package LazyApiPack.XmlTools.Wpf --version 0.1.7
NuGet\Install-Package LazyApiPack.XmlTools.Wpf -Version 0.1.7
<PackageReference Include="LazyApiPack.XmlTools.Wpf" Version="0.1.7" />
paket add LazyApiPack.XmlTools.Wpf --version 0.1.7
#r "nuget: LazyApiPack.XmlTools.Wpf, 0.1.7"
// Install LazyApiPack.XmlTools.Wpf as a Cake Addin
#addin nuget:?package=LazyApiPack.XmlTools.Wpf&version=0.1.7
// Install LazyApiPack.XmlTools.Wpf as a Cake Tool
#tool nuget:?package=LazyApiPack.XmlTools.Wpf&version=0.1.7
About this project
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. |
-
net6.0-windows7.0
- LazyApiPack.XmlTools (>= 0.1.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Bugfixes