This question is locked. New answers and comments are not allowed.
Hi,
I had a issue that I want to set ItemsSource of GridViewComboBoxColumn for each cell , not each column.
Because the ItemsSource is determined by another property of entity binded to Row.
for example,
public class AEntity
{
public string PropertyA { get; set;}
public string ComboboxProperty { get; set;}
}
ComboboxProperty will be binded to GridViewComboBoxColumn .
And there are two list for ItemsSrouce called ListA and ListB.
When PropertyA is setted by "ValueA". I want to set ListA into GridViewComboBoxColumn.ItemsSource, also display value of first entity in ListA on to Cell.
And when PropertyA is setted by "ValueB". I want to set ListB into GridViewComboBoxColumn.ItemsSource, and display value of first entity in ListB on to Cell.
Is there any way to resolve this problem?
Best regards,
Niwa.
I had a issue that I want to set ItemsSource of GridViewComboBoxColumn for each cell , not each column.
Because the ItemsSource is determined by another property of entity binded to Row.
for example,
public class AEntity
{
public string PropertyA { get; set;}
public string ComboboxProperty { get; set;}
}
ComboboxProperty will be binded to GridViewComboBoxColumn .
And there are two list for ItemsSrouce called ListA and ListB.
When PropertyA is setted by "ValueA". I want to set ListA into GridViewComboBoxColumn.ItemsSource, also display value of first entity in ListA on to Cell.
And when PropertyA is setted by "ValueB". I want to set ListB into GridViewComboBoxColumn.ItemsSource, and display value of first entity in ListB on to Cell.
Is there any way to resolve this problem?
Best regards,
Niwa.