Hi, I was wondering if there is a sample for the integration of RichTextBox in a DataForm?
I would like to use the RichTextBox as a replacement for a "normal" TextBox in a dataForm.
I would like to use the RichTextBox as a replacement for a "normal" TextBox in a dataForm.
<telerik:DataFormDataField DataMemberBinding="{Binding Description, Mode=TwoWay}"
Label="Description:"
IsEnabled="True"
IsReadOnly="False"
Description="You can enter any information regarding this server in this field.">
<telerik:DataFormDataField.Content>
<telerik:RadRichTextBox x:Name="rtbDescription" Width="450" Height="200"></telerik:RadRichTextBox>
</telerik:DataFormDataField.Content>
</telerik:DataFormDataField>
I understand I'll have to capture certain events to keep the RichTextBox's document in sync with the bound property, and work with a FormatProvider to import/export the RichTextBox document into/from that property.
However, A sample would be much appreciated.
Thanks a lot