Hi!
I have a View with a Master - Details layout, in the Master i have a RadTreeList View with Hierarchical Data. In the Details I have a ComboBox which display the details of the selected value item of the Grid. How can i set the right property? I'm working with the MVVM, but i have difficulty to display the details. I want to display "Descrizione". Here my code,whats wrong? Thank you all :
I have a View with a Master - Details layout, in the Master i have a RadTreeList View with Hierarchical Data. In the Details I have a ComboBox which display the details of the selected value item of the Grid. How can i set the right property? I'm working with the MVVM, but i have difficulty to display the details. I want to display "Descrizione". Here my code,whats wrong? Thank you all :
<
ComboBox
DisplayMemberPath
=
"Descrizione"
SelectedValuePath
=
"Codice"
Style
=
"{StaticResource ComboBoxStyle}"
Width
=
"140"
HorizontalAlignment
=
"Left"
ItemsSource
=
"{Binding Source={StaticResource commonProperties}, Path=Content.UnitaOrganizzative,Mode=TwoWay}"
SelectedValue
=
"{Binding SelectedItem.Codice, Mode=TwoWay}"
SelectedIndex
=
"{Binding SelectedItem.Padre}"
VerticalAlignment
=
"Top"
/>