I have CollectionView sometimes I want it to be a flat format without grouping and other times I want it grouped. Basically depending on how the input data. I have figured out ways to have the group display nothing, but there is still a space for where the group header would be.
How could I go about this type of setup.
Basically something like:
if string.IsNullOrEmpty(GroupName)
//Don't group
else
//group