I am trying to display an exception in a treeview with each innerexception being a child. Here is what I have so far, but this only displays the exception.tostring() values.
<GridViewColumn Header="Exception" Width="Auto" DisplayMemberBinding="">
<GridViewColumn.CellTemplate>
<DataTemplate>
<TreeView ItemsSource="{Binding Path=Exception}">
<TreeView.ItemTemplate>
<HierarchicalDataTemplate DataType="{x:Type sys:Exception}"
ItemsSource="{Binding Path=InnerException}">
<TextBlock Text="{Binding Path=Message}"/>
</HierarchicalDataTemplate>
</TreeView.ItemTemplate>
</TreeView>
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
Troy Zajac