I am using a RadRichTextBox as a Rich Content Viewer. (WPF 40)
What is the correct way to Bind TransitionControl with fadeEffect to a read-only RadRichTextBox (RRTB) control?
There is no user input in this process. (Remote display only)
The RadRichTextBox is loaded from Database with Html from code behind on a seperate thread every 5 seconds.
Is there an example of binding RRTB Data Context to transition, or an example of binding a RRTB Data Template to transition?
Because it’s Read-only, How do I bind the changing Data (with HtmlFormatProvider or RRTB directly)
Or is there a strictly XAML way to bind with declaratives?
I am trying to keep this as simple as possible.
What do I have to do to the following code to add Fade Transition to RadRichTextBox1?
The XAML:
<telerik:RadRichTextBox x:Name="RadRichTextBox1"
IsReadOnly="True"
IsEnabled="True"
IsSelectionEnabled="False"
IsFocusable="False"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Height="595"
Width="1050"
Margin="20,122,0,0">
</telerik:RadRichTextBox>
VB - Code Behind Snippet:
Dim HtmlMsg as String= MSG_TXT.ToString ‘ load HTML from DB
Me.RadRichTextBox1.IsSpellCheckingEnabled = False
Me.RadRichTextBox1.Document = Me.htmlFormatProvider.Import(HtmlMsg)
‘