or
<
telerik:RadComboBox
Grid.Row
=
"2"
Grid.Column
=
"1"
telerik:StyleManager.Theme
=
"Windows8Touch"
Margin
=
"5 3 5 0"
MaxDropDownHeight
=
"1000"
ItemsSource
=
"{Binding MultiCropTypes}"
SelectedValue
=
"{Binding SelectedMultiCropTypeId, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}"
Tag
=
"{Binding MultiCropTypes}"
SelectedValuePath
=
"PkMultiCropTypeId"
>
<
telerik:RadComboBox.SelectionBoxTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding Description, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
TextTrimming
=
"CharacterEllipsis"
/>
</
DataTemplate
>
</
telerik:RadComboBox.SelectionBoxTemplate
>
<
telerik:RadComboBox.ItemTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding Name, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
TextWrapping
=
"Wrap"
Width
=
"900"
Margin
=
"0,0,10,0"
/>
</
DataTemplate
>
</
telerik:RadComboBox.ItemTemplate
>
</
telerik:RadComboBox
>
<telerik:DataFormDataField DataMemberBinding="{Binding Description, Mode=TwoWay}"
Label="Description:"
IsEnabled="True"
IsReadOnly="False"
Description="You can enter any information regarding this server in this field.">
<telerik:DataFormDataField.Content>
<telerik:RadRichTextBox x:Name="rtbDescription" Width="450" Height="200"></telerik:RadRichTextBox>
</telerik:DataFormDataField.Content>
</telerik:DataFormDataField>
I understand I'll have to capture certain events to keep the RichTextBox's document in sync with the bound property, and work with a FormatProvider to import/export the RichTextBox document into/from that property.
However, A sample would be much appreciated.
Thanks a lot