I'm using the XamlFormatProvider to convert a string value to a RadDocument object. This RadDocument object is used to populate the RadRichTextBox. The string value is in fact a string representation of a RadDocument object and its content.
I notice an issue when the RadDocument contains a (bulleted) list. The string representation of that RadDocument contains several ListSerializationData tags, which have a specific ListID. The issue is that the XamlFormatProvider modifies the ListID while converting the string into a RadDocument object. (via the Import method of the XamlFormatProvider)
This is annoying because the application I'm developing contains functionality to detect if the rich text has been changed. As a result, when the user opens the page that contains a RichTextBox with a bulleted list in its content, the GUI indicates that the content of the RichTextBox has been changed, while the user did not change anything at all.
So is there a way to prevent the XamlFormatProvider from changing the ListID's while converting a string to a RadDocument object?