Skip to content

DevExpress-Examples/winforms-richedit-use-calculatedocumentvariable-event-to-insert-formatted-content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rich Text Editor for WinForms - Handle the CalculateDocumentVariable Event to Insert Formatted Content

This example illustrates how to use the Document.CalculateDocumentVariable event to insert formatted content. The DOCVARIABLE has a parameter specified by the MERGEFIELD field and looks as follows:

{ DOCVARIABLE DetailInfo "{ MERGEFIELD DetailId }" }

The formatted content is loaded into a non-visual RichEditDocumentServer component, which in turn is assigned to the e.Value parameter of a CalculateDocumentVariable event handler.

Files to Review

More Examples

Documentation

Does This Example Address Your Development Requirements/Objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Handle the CalculateDocumentVariable event to insert formatted content in the DOCVARIABLE field.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages