This is a migrated thread and some comments may be shown as answers.

Expand all row using binding

0 Answers 12 Views
GridView
This is a migrated thread and some comments may be shown as answers.
peter
Top achievements
Rank 1
peter asked on 09 Nov 2011, 04:50 PM
In my case, I have a feature 'expand all'.  I binding IsExpandedProperty  for each row. the problem is when the object changed , there is only one row is expanded , the rest doesn't expand. Can you tell me how to slove this issure?

code for setbinding for each row
row.SetBinding(TreeListViewRow.IsExpandedProperty, new Binding("IsExpanded") { Source = row.DataContext, Mode = BindingMode.TwoWay });

thanks,

Jeff

No answers yet. Maybe you can help?

Tags
GridView
Asked by
peter
Top achievements
Rank 1
Share this question
or