¡@

Home 

c# Programming Glossary: isleaf

WPF: Reapply DataTemplateSelector when a certain value changes

http://stackoverflow.com/questions/3543515/wpf-reapply-datatemplateselector-when-a-certain-value-changes

Person list item as GroupList Person if list null list.IsLeaf return GroupTemplate return ItemTemplate The GroupTemplate data.. want to change from ItemTemplate to GroupTemplate when the IsLeaf property changes. This works beautifully the very first time.. For instance say I have a list of groups like this Group 1 IsLeaf false so template GroupTemplate Group 2 IsLeaf true so template..