Changing (Enable/Disable) GroupStyle in ListView for different category items
问题 How can I switch between GroupStyles for a ListView based on some conditions at run time? For instance I need to use Default for items that that have GroupStyle Header name null, and if it is not null then use the custom GroupStyle theme? I tried GroupStyleSelector , and it doesn't work, because it works for multi level grouping, and in my case I have only one level grouping. If yes, then how? Custom GroupStyle : <Style x:Key="grouping" TargetType="{x:Type GroupStyle}"> <Setter Property=