Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我得到了这个例外,不知道该怎么办。我正在使用TreeListView我在网上找到的:
TreeListView
<tv:TreeListView x:Name="listView" ItemsSource="{Binding TreeRoot}" Margin="5" Width="640" Height="732"> </tv:TreeListView>
有没有人有这个例外?
我怀疑TreeRoot您的集合DataContext包含空项目。
TreeRoot
DataContext