I am trying to put a datagrid inside of an info window and then bind the datagrid to the graphics attributes. When I open the info window the grid shows up blank, what is wrong with this code?<DataTemplate x:Key="MyFeatureLayerInfoWindowTemplate">
<!--<TextBlock Text="{Binding [OWNERNAME1]}" Foreground="Black" FontSize="12" />-->
<ScrollViewer Margin="0,5,0,0" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Width="285" Height="325">
<slData:DataGrid AutoGenerateColumns="False" HeadersVisibility="None">
<slData:DataGrid.Columns>
<slData:DataGridTextColumn Binding="{Binding Path=Key}" FontWeight="Bold"/>
<slData:DataGridTemplateColumn>
<slData:DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding Path=Value}" />
</DataTemplate>
</slData:DataGridTemplateColumn.CellTemplate>
</slData:DataGridTemplateColumn>
</slData:DataGrid.Columns>
</slData:DataGrid>
</ScrollViewer>
</DataTemplate>
MyInfoWindow.Content = g.Attributes;