Declined
Last Updated: 16 Jun 2016 11:05 by ADMIN
ADMIN
Stefan
Created on: 19 Aug 2015 10:20
Category: GridView
Type: Bug Report
0
When using tab control and applying ColumnGroupDescriptor/ColumnSortDescriptor to the grid which is not in the initially selected tab, Binding error is thrown

		
1 comment
ADMIN
Yoan
Posted on: 16 Jun 2016 11:05
As it turns out, this is the expected behavior since all TabItems except the first one are not loaded yet. Generally, when you use the ElementName, the binding engine uses FindName method on FrameworkElement to find the target. However, the second TabItem is not yet in the visual tree and FindName fails. However, this does not affect the grouping logic - everything is working as expected when switching the tabs.