Hi,
We are using the wpf RadRichText control in our project.
We have a grid control and one of the column is the rich text control and since we added the control we facing
a memory problems our application memory continue grow and it seems that the control don't free up memory.
here is the code:
We are using the wpf RadRichText control in our project.
We have a grid control and one of the column is the rich text control and since we added the control we facing
a memory problems our application memory continue grow and it seems that the control don't free up memory.
here is the code:
<
telerikRTF:RtfDataProvider
SetupDocument
=
"RtfDataProvider_SetupDocument"
Rtf
=
"{Binding ElementName=rtfControl, Path=RichText,Mode= TwoWay}"
UpdateSourceTrigger
=
"PropertyChanged"
RichTextBox
=
"{Binding ElementName=rtfControlMain}"
/>
<
telerik:RadRichTextBox
x:Name
=
"rtfControlMain"
ToolTip
=
"{Binding ElementName=rtfControl,Path=Text,Mode=OneWay}"
IsReadOnly
=
"{Binding ElementName=rtfControl,Path=IsReadOnly}"
FontFamily
=
"Segoe UI"
FontSize
=
"11"
DocumentInheritsDefaultStyleSettings
=
"True"
Grid.Row
=
"2"
Loaded
=
"rtfMain_Loaded"
>
<
telerik:RadRichTextBox.IsSelectionMiniToolBarEnabled
>
<
MultiBinding
Converter
=
"{StaticResource booleanLogicalNORConverter}"
>
<
MultiBinding.Bindings
>
<
Binding
ElementName
=
"rtfControl"
Path
=
"IsReadOnly"
/>
<
Binding
ElementName
=
"rtfControl"
Path
=
"IsToolBarVisible"
/>
</
MultiBinding.Bindings
>
</
MultiBinding
>
</
telerik:RadRichTextBox.IsSelectionMiniToolBarEnabled
>
<
telerik:RadRichTextBox.Resources
>
<
Style
TargetType
=
"TextBlock"
/>
</
telerik:RadRichTextBox.Resources
>
</
telerik:RadRichTextBox
>