This question is locked. New answers and comments are not allowed.
Hi
Im trying to bind a Dictionary to a Grid, but cant get the value out:
public Dictionary<int,string> Value1 { get; set; }
Value1 value;
(DataGrid.ItemSource = value)
<telerikGrid:RadDataGrid x:Name="DataGrid">
<telerikGrid:RadDataGrid.Columns>
<telerikGrid:DataGridTextColumn PropertyName="Value1[1].Value" Header="Value"/> // I have try
<telerikGrid:DataGridTextColumn PropertyName="Value1[1]" Header="Value"/> // and
</telerikGrid:RadDataGrid.Columns>
</telerikGrid:RadDataGrid>
Lennart
Im trying to bind a Dictionary to a Grid, but cant get the value out:
public Dictionary<int,string> Value1 { get; set; }
Value1 value;
(DataGrid.ItemSource = value)
<telerikGrid:RadDataGrid x:Name="DataGrid">
<telerikGrid:RadDataGrid.Columns>
<telerikGrid:DataGridTextColumn PropertyName="Value1[1].Value" Header="Value"/> // I have try
<telerikGrid:DataGridTextColumn PropertyName="Value1[1]" Header="Value"/> // and
</telerikGrid:RadDataGrid.Columns>
</telerikGrid:RadDataGrid>
Lennart