This question is locked. New answers and comments are not allowed.
Is it possible to create some sort of template from which a RichTextBox content would be loaded?
With some addition of bound data? I want to use RichTextBox Document to print my data.
Basically i don't want to create the Document programmatically but rather i want to read the layout from some sort of file. Perhaps a XAML or XML file. In case i need to change the layout, i don't want to have to change the code.
Say i have 2 document sections one that has some static text and another that has gridview inside a table.
If i need to add another section say with some more static text, i want to simply go to some sort of template file and change it.
Is this possible? and how would i go about creating this?
Thanks
With some addition of bound data? I want to use RichTextBox Document to print my data.
Basically i don't want to create the Document programmatically but rather i want to read the layout from some sort of file. Perhaps a XAML or XML file. In case i need to change the layout, i don't want to have to change the code.
Say i have 2 document sections one that has some static text and another that has gridview inside a table.
If i need to add another section say with some more static text, i want to simply go to some sort of template file and change it.
Is this possible? and how would i go about creating this?
Thanks