private void OnCategoryContainerGenerated(object sender, ContainerGeneratedEventArgs e)
 {
     if (e.Container == null)
     {
         return;
     }
     e.Container.ShowCategoryHeader = this.CurrentViewManager == null ? true : this.CurrentViewManager.ShowCategoryHeaders;
 }
 private void OnCategoryContainerGenerated(object sender, ContainerGeneratedEventArgs e) 
 {
     if (e.Container == null) 
     {
         return;
     }
     e.Container.ShowCategoryHeader = this.CurrentViewManager == null ? true : this.CurrentViewManager.ShowCategoryHeaders;
 }