Using PDFx in your Project

Adding a reference to the PDFx

Before using the PDFx, you have to decide whether you would like to go with the platform independent Portable Class Library or one of the feature richer platform specific libraries. Please check out Library Versions to learn more about the different versions.

If you decide to go forward with the Portable Class library, all you need to do is add a project reference to PropertyDependencyFramework.dll.

If you decide to go forward with a platform specific library (recommended), you need to add a project reference to PropertyDependencyFramework.dll and a platform specific binary.

Platform .NET 4.5 Portable Class Library
Path bin\Release\PCL\PropertyDependencyFramework.dll
bin\Release\WindowsStore\PropertyDependencyFramework.dll & bin\Release\WindowsStore\PropertyDependencyFramework_WindowsStore.dll bin\Release\WP8\PropertyDependencyFramework.dll & bin\Release\WP8\PropertyDependencyFramework_WP8.dll
bin\Release\WPF\PropertyDependencyFramework.dll & bin\Release\WPF\PropertyDependencyFramework_WPF.dll bin\Release\SL5\PropertyDependencyFramework.dll & bin\Release\SL5\PropertyDependencyFramework_Silverlight.dll

Deriving from Bindable

The PDFx's features are all exposed through protected methods which live in the PCL's Bindable-class as well as in the platform specific BindableExt-classes.
Every class, in which you would like to use the PDF'x functionality consequently needs to eventually derive from Bindable or BindableExt which both live in the PropertyDependencyFramework-Namespace.

In case you're already using a development framework (such as MVVMLight) and cannot or don't want to change your ViewModel's base class, please refer to Using PDFx with MVVM Light or a similar framework to learn how you can merge the PDFx into those scenarios.

Last edited May 16, 2013 at 7:12 PM by KevinStumpf, version 7


No comments yet.