This is a migrated thread and some comments may be shown as answers.

'Normal, Heading1, Heading2' Paragraph Styles in the RichTextBox Document

3 Answers 109 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 04 Aug 2010, 04:28 PM
I'm trying to extend the existing RichTextBox Styles and add my own.  I've created my own custom IStyleDefinitions and I am assigning them using:

_textbox.CurrentEditingStyle.SetPropertyValue(ParagraphStyle.ParagraphStyleProperty, "Heading1");

The problem is when I try to export this to XAML for persistence this style is not retained.  Is there a way to have the RadDocument contain an extended MyParagraph object?

3 Answers, 1 is accepted

Sort by
0
Vesko
Telerik team
answered on 09 Aug 2010, 05:39 PM
Hello Ben,

The styles can be applied, but currently are not persisted when exporting to any of the document formats.
This will be included in the next version of the RadRichTextBox.

Best wishes,
Vesko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Ben
Top achievements
Rank 1
answered on 09 Aug 2010, 05:53 PM
Is this expected in the Q2 SP1 or Q3?
0
Vesko
Telerik team
answered on 12 Aug 2010, 12:48 PM
Hello Ben,

They are planned to be available for Q3. We will try to add them even sooner, in an internal build but we cannot specify any exact timeline.
Please let me know if you have any further questions.

Regards,
Vesko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
RichTextBox
Asked by
Ben
Top achievements
Rank 1
Answers by
Vesko
Telerik team
Ben
Top achievements
Rank 1
Share this question
or