Hello,
When I input something and try to set new default fontsize ,some text which have been inputed will be changed too.
Span span= control.editor.Document.Sections.Last.Paragraphs.Last.Inlines.Last.PreviousSibling as Span;
span.FontSize = fontsize;
I know the reason is that all the text in the Paragraphs.Last.Inlines.Last will be changed. But I don't know how to solve it, because I can't get the DocumentElement which have not been inputed.
And the demo http://demos.telerik.com/silverlight/beta/#RichTextBox/MSWord doesn't have this problem too. But I can find the codes about telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ChangeFontSizeCommand} (I think this command deal with the problem). Or Is it the problem of the version?
Thanks.
Chen
When I input something and try to set new default fontsize ,some text which have been inputed will be changed too.
Span span= control.editor.Document.Sections.Last.Paragraphs.Last.Inlines.Last.PreviousSibling as Span;
span.FontSize = fontsize;
I know the reason is that all the text in the Paragraphs.Last.Inlines.Last will be changed. But I don't know how to solve it, because I can't get the DocumentElement which have not been inputed.
And the demo http://demos.telerik.com/silverlight/beta/#RichTextBox/MSWord doesn't have this problem too. But I can find the codes about telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ChangeFontSizeCommand} (I think this command deal with the problem). Or Is it the problem of the version?
Thanks.
Chen