This question is locked. New answers and comments are not allowed.
Hi,
I'm trying to use the RichTextBox editor, but when I add the followind code
the Layout disappears with the following error:
What I've to do?
Thanks and regards.
Andrea Ferrari
I'm trying to use the RichTextBox editor, but when I add the followind code
| <telerikEditor:RadRichTextBox Grid.Row="1" x:Name="editor" CurrentSpanStyleChanged="Editor_CurrentSpanStyleChanged" CurrentParagraphStyleChanged="Editor_CurrentParagraphPropertyChanged"> |
| MeasureOverride returned positive infinity: Telerik.Windows.Documents.Layout.ParagraphLayoutBox |
| at Telerik.Windows.Documents.Layout.LayoutElement.Measure(SizeF availableSize) in c:\Users\TeamFoundationUser\AppData\Local\Temp\WPF_Scrum\Documents_SL_2010_Q1\Sources\Development\Documents\Layout\LayoutElement.cs:line 1735 |
| at Telerik.Windows.Documents.Layout.SectionLayoutBox.MeasureOverride(SizeF availableSize) in c:\Users\TeamFoundationUser\AppData\Local\Temp\WPF_Scrum\Documents_SL_2010_Q1\Sources\Development\Documents\Layout\SectionLayoutBox.cs:line 113 |
| at Telerik.Windows.Documents.Layout.LayoutElement.MeasureCore(SizeF availableSize) in c:\Users\TeamFoundationUser\AppData\Local\Temp\WPF_Scrum\Documents_SL_2010_Q1\Sources\Development\Documents\Layout\LayoutElement.cs:line 1812 |
| at Telerik.Windows.Documents.Layout.LayoutElement.Measure(SizeF availableSize) in c:\Users\TeamFoundationUser\AppData\Local\Temp\WPF_Scrum\Documents_SL_2010_Q1\Sources\Development\Documents\Layout\LayoutElement.cs:line 1724 |
| at Telerik.Windows.Documents.Layout.DocumentLayoutBox.MeasureOverride(SizeF availableSize) in c:\Users\TeamFoundationUser\AppData\Local\Temp\WPF_Scrum\Documents_SL_2010_Q1\Sources\Development\Documents\Layout\DocumentLayoutBox.cs:line 205 |
| at Telerik.Windows.Documents.Layout.LayoutElement.MeasureCore(SizeF availableSize) in c:\Users\TeamFoundationUser\AppData\Local\Temp\WPF_Scrum\Documents_SL_2010_Q1\Sources\Development\Documents\Layout\LayoutElement.cs:line 1812 |
| at Telerik.Windows.Documents.Layout.LayoutElement.Measure(SizeF availableSize) in c:\Users\TeamFoundationUser\AppData\Local\Temp\WPF_Scrum\Documents_SL_2010_Q1\Sources\Development\Documents\Layout\LayoutElement.cs:line 1724 |
| at Telerik.Windows.Documents.UI.EditorContentPresenter.MeasureOverride(Size availableSize) in c:\Users\TeamFoundationUser\AppData\Local\Temp\WPF_Scrum\Documents_SL_2010_Q1\Sources\Development\Documents\UI\EditorContentPresenter.cs:line 962 |
| at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) |
What I've to do?
Thanks and regards.
Andrea Ferrari
