我收到一个运行时错误,当它尝试解析我的XAML
.
<TreeViewItem Header="{Binding Header}" ItemsSource="{Binding DataGroups}">
<ListView ItemsSource="{Binding DataGroups}">
<ListView.View>
<GridView>
<GridViewColumn Header="Group Name" DisplayMemberBinding="{Binding Path=Name}" />
<GridViewColumn Header="Group Type" DisplayMemberBinding="{Binding Path=Type}" />
</GridView>
</ListView.View>
</ListView>
</TreeViewItem>