This page provides you some information about how to use WPF Text Editor component in your applications. In particular, arguments like deployment, how to include it, licensing will be dealt. If you want to know how to create new skin customizations, also look at the skin creation documentation pages.

 



About  

 

WpfTextEditor is Windows Presentation Fundation flow documents editing control. It provides rich text editing capabilities and with ready to use and customizable user interface and other additional features.

 



Deployment

 

Below you can find an example of a typical deployment folders structure:

 

YourApplication   - this is your application folder

 

     YourApplication.exe  - the executable of your application, containing WPF Text Editor component 

     . . . . .   - the other files of your application

     WpfTextEditor.dll   - WPF Text Editor component library
     DocumentFormat.OpenXml.dll   - the OpenXml SDK assembly. This is used for .docx files import/export operations


     languages  - this folder contains localization resource files. This folder is optional; if no localization is set, (built-in) English language is used


          Strings_it-IT.xaml   -  the Italian language file
          Strings_de-DE.xaml  - the German language file
          Strings_fr-FR.xaml  - the French language file
          . . . . .   - other language files


     Skins  - this folder contains custom skin definitions. This folder is optional; if no localization is set, the standard (built-in) skin is applied


          Office2007  - this folder contains the definition of Office2007 custom skin


               ButtonTemplate.xaml   - buttons style definition in Office2007 custom skin
               CheckboxTemplate.xaml   - checkboxes style definition in Office2007 custom skin
               . . . . .   - other controls style definition in Office2007 skin

 



 

Adding WPF Text Editor to your application

 

To add WPF Text Editor into your application, follow the below simple steps:

 

     1.  Add the WpfTextEditor assembly reference

 


 

 

 

     2.  Add WTE namespace mapping to your XAML code:

 


 

 

 

     3.  Add WpfTextEditor control to your XAML code:

 


 



For more information about how to use WPF Text Editor in your applications, go on page 2.

 
Copyright 2009 Gaia s.r.l. - All rights reserved