Hi,
I compined DataForm and PropertyGrid controls properly but I want to do that handle DataFormComboBoxField change event and as configured DataTemplate like that.
<
telerik:RadDataForm
Grid.Row
=
"0"
x:Name
=
"DataForm1"
Header
=
"Actor Basic"
AutoGenerateFields
=
"False"
ItemsSource
=
"{Binding MyDTO}"
ReadOnlyTemplate
=
"{StaticResource MyTemplate}"
EditTemplate
=
"{StaticResource MyTemplate}"
NewItemTemplate
=
"{StaticResource MyTemplate}"
EditEnded
=
"DataForm1_EditEnded"
>
<
DataTemplate
x:Key
=
"MyTemplate"
>
<
StackPanel
>
<
telerik:DataFormDataField
Label
=
"İsim"
DataMemberBinding
=
"{Binding Name, Mode=TwoWay}"
/>
<
telerik:DataFormComboBoxField
Label
=
"Some Label"
SelectedValuePath
=
"ID"
DisplayMemberPath
=
"TypeName"
DataMemberBinding
=
"{Binding AnotherId, Mode=TwoWay}"
ItemsSource="{Binding RelativeSource={RelativeSource FindAncestor,
AncestorType={x:Type UserControl}},
Path
=
DataContext
.SomeList}" />
</
StackPanel
>
</
DataTemplate
>