Inside a CollectionView I have various groups, some with elements, others empty in which there is no element inside, but only the name of the group. In empty groups is it possible to insert a Label instead of the object of my class?
public class Diary
{
public DateTime Dt { get; set;}
public string Nota { get; set; }
}
DiaryGroup hgroup = new DiaryGroup(NameGroup), new ObservableCollection<Diary>());
public ObservableCollection<DiaryGroup> TotalDiary = new ObservableCollection<DiaryGroup>();
TotalDiary.Add(hgroup);
