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:
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?
_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?