Download WPF XML FlowDocument sample
Description
A simple example of rendering XML as a WPF FlowDocument.It's implemented as an IValueConverter, but can also be used standalone.
Source Files
The download file xmlflowdocument.zip has the following entries.
App.xaml//from w ww .j a v a2 s . co m
App.xaml.cs
BuildProcessTemplates/DefaultTemplate.11.1.xaml
BuildProcessTemplates/DefaultTemplate.xaml
BuildProcessTemplates/LabDefaultTemplate.11.xaml
BuildProcessTemplates/UpgradeTemplate.xaml
Converters/LocalValueConverter.cs
Converters/PrettyXmlConverter.cs
Converters/StringFormatConverter.cs
Properties/AssemblyInfo.cs
Properties/Resources.Designer.cs
Properties/Resources.resx
Properties/Settings.Designer.cs
Properties/Settings.settings
Window1.xaml
Window1.xaml.cs
Xml/Books.xml
XmlFlowDocumentSample.csproj
XmlFlowDocumentSample.csproj.user
XmlFlowDocumentSample_TemporaryKey.pfx
Download
Click the following link to download xmlflowdocument.zip.
xmlflowdocument.zipHome »
C# Free Code »
Windows Presentation Foundation »
C# Free Code »
Windows Presentation Foundation »