Hello!
I have a RichTextBox and it's source is bound via a DataProvider. However, I want to set some properties on the RadDocument to change the visual experience. But the document is created on the fly when using databinding.
So I tried to do this:
But it didnt work. How can I restyle the document when using databinding?
Cheers,
E
I have a RichTextBox and it's source is bound via a DataProvider. However, I want to set some properties on the RadDocument to change the visual experience. But the document is created on the fly when using databinding.
So I tried to do this:
<
Style
TargetType
=
"Model:RadDocument"
>
<
Setter
Property
=
"LayoutMode"
Value
=
"Flow"
/>
<
Setter
Property
=
"SectionDefaultPageMargin"
Value
=
"0"
/>
</
Style
>
But it didnt work. How can I restyle the document when using databinding?
Cheers,
E