Greetings-
I seem to be having a problem with the RadRichTextBox with regard to the MaxWidth and MinWidth properties. We have created a re-usable control callled HTMLEditor.xaml that has the RadRichTextBox contained in a grid. See the code below
This control gets re-used in a few instances and has varying MaxWidth and MinWidth properties in 3 different cases. I seem to having a problem with each instance of the RadRichTextBox control...they do not re-size to the resolution.
Can you provide some help with this?
Thanks,
Strasz
I seem to be having a problem with the RadRichTextBox with regard to the MaxWidth and MinWidth properties. We have created a re-usable control callled HTMLEditor.xaml that has the RadRichTextBox contained in a grid. See the code below
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
/>
</
Grid.RowDefinitions
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
MinWidth
=
"500"
/>
</
Grid.ColumnDefinitions
>
<
Grid
Grid.Row
=
"0"
Grid.Column
=
"0"
MinWidth
=
"500"
HorizontalAlignment
=
"Stretch"
>
<
telerik:RadRichTextBox
LayoutMode
=
"Flow"
x:Name
=
"editor"
AllowDrop
=
"True"
Drop
=
"editor_Drop"
ShowComments
=
"False"
MinHeight
=
"50"
MaxHeight
=
"100"
BorderBrush
=
"#FFADADAD"
MinWidth
=
"500"
BorderThickness
=
"1"
IsSelectionMiniToolBarEnabled
=
"False"
IsContextMenuEnabled
=
"True"
IsInHeaderFooterEditMode
=
"False"
>
</
telerik:RadRichTextBox
>
</
Grid
>
</
Grid
>
This control gets re-used in a few instances and has varying MaxWidth and MinWidth properties in 3 different cases. I seem to having a problem with each instance of the RadRichTextBox control...they do not re-size to the resolution.
<
GroupBox
Margin
=
"5"
Padding
=
"5"
MinWidth
=
"614"
Header
=
"Stem and/or Stimulus"
Foreground
=
"#FF000000"
>
<
common:HtmlEditor
Name
=
"htmlStem"
GotFocus
=
"htmlEditor_GotFocus"
MinHeight
=
"100"
Margin
=
"0"
Padding
=
"0"
/>
</
GroupBox
>
Can you provide some help with this?
Thanks,
Strasz