Hello,
when trying to set the LayoutMode dependency property of a RadRichTextBox using a style, the application crashes.
Test case:
1. Create a new Silverlight application.
2. Replace MainPage.xaml with:
3. Run
If you comment the style definition, the application runs correctly.
Patrick
when trying to set the LayoutMode dependency property of a RadRichTextBox using a style, the application crashes.
Test case:
1. Create a new Silverlight application.
2. Replace MainPage.xaml with:
<
UserControl
x:Class
=
"SilverlightApplication2.MainPage"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"400"
>
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
Margin
=
"5"
>
<
Grid.Resources
>
<
Style
TargetType
=
"tk:RadRichTextBox"
>
<
Setter
Property
=
"LayoutMode"
Value
=
"Flow"
/>
</
Style
>
</
Grid.Resources
>
<
tk:RadRichTextBox
/>
</
Grid
>
</
UserControl
>
3. Run
If you comment the style definition, the application runs correctly.
Patrick