Navigation :
BindableRichTextBox
The control can be used as a regular RichTextBox with one added advantage. It can be bound to a FlowDocument.
Inherits from System.Windows.Controls.RichTextBox.
It is very useful to use with the MVVM pattern.
Properties
Property name | Description |
---|
BindableDocument | Gets or sets bindable FlowDocument |
How to use
For binding data to the BindableRichTextBox
, use the BindableDocument
property (the type is FlowDocument)
<orc:BindableRichTextBox BindableDocument="{Binding FlowDoc}" />
Once that is done you may assign a new value to it or change the layout of the FlowDocument.
Everything will automatically be displayed in your UI.
Contributions
We would like to thank the following contributors:
Want to contribute to the documentation? We have a guide for that!
Questions
Have a question about Catel or WildGums controls? Use StackOverflow with the Catel tag!