this is my code:
<
toolkit:DataForm
Grid.Row
=
"0"
Name
=
"_MainDataForm"
ItemsSource
=
"{Binding Data}"
Style
=
"{StaticResource DataForm_General}"
EditEnded
=
"_MainDataForm_EditEnded"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"30"
/>
<
RowDefinition
Height
=
"30"
/>
<
RowDefinition
Height
=
"30"
/>
<
RowDefinition
Height
=
"30"
/>
<
RowDefinition
Height
=
"340"
/>
</
Grid.RowDefinitions
>
<
toolkit:DataField
Grid.Row
=
"0"
>
<
telerik:RadComboBox
SelectedIndex
=
"0"
ItemsSource
=
"{Binding NewsType, Source={StaticResource TypeContext}}"
DisplayMemberPath
=
"ItemValue"
SelectedValue
=
"{Binding NewsCategory, Mode=TwoWay}"
SelectedValuePath
=
"ItemId"
/>
</
toolkit:DataField
>
<
toolkit:DataField
Grid.Row
=
"1"
>
<
TextBox
Text
=
"{Binding NewsTitle, Mode=TwoWay}"
/>
</
toolkit:DataField
>
<
toolkit:DataField
Grid.Row
=
"2"
>
<
TextBox
Text
=
"{Binding Keywords, Mode=TwoWay}"
/>
</
toolkit:DataField
>
<
toolkit:DataField
Grid.Row
=
"3"
>
<
CheckBox
Content
=
"Important"
IsChecked
=
"{Binding IsImportant,Mode=TwoWay}"
/>
</
toolkit:DataField
>
<
toolkit:DataField
Grid.Row
=
"4"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"140"
/>
<
RowDefinition
Height
=
"200"
/>
</
Grid.RowDefinitions
>
<
telerik:RadRichTextBoxRibbonUI
>
<
telerik:RadRibbonTab
Header
=
"home"
>
<
telerik:RadRibbonGroup
Header
=
"font"
/>
</
telerik:RadRibbonTab
>
</
telerik:RadRichTextBoxRibbonUI
>
<
telerik:RadRichTextBox
Grid.Row
=
"1"
Height
=
"200"
Name
=
"_newsContent"
>
<
telerik:RadRichTextBox.Resources
>
<
telerikxaml:XamlDataProvider
x:Key
=
"xamlDataProvider"
x:Name
=
"_xamlDataProvider"
RichTextBox
=
"{Binding ElementName=_newsContent}"
Xaml
=
"{Binding NewsContent,Mode=TwoWay}"
/>
</
telerik:RadRichTextBox.Resources
>
</
telerik:RadRichTextBox
>
</
Grid
>
</
toolkit:DataField
>
</
Grid
>
</
toolkit:DataForm
>
thank you!