ContentContainer.Add(value);
}
header = value;
+ if (InternalItemSource != null)
+ {
+ InternalItemSource.HasHeader = (value != null);
+ }
needInitalizeLayouter = true;
Init();
}
ContentContainer.Add(value);
}
footer = value;
+ if (InternalItemSource != null)
+ {
+ InternalItemSource.HasFooter = (value != null);
+ }
needInitalizeLayouter = true;
Init();
}
{
groupHeaderTemplate = value;
needInitalizeLayouter = true;
+ //Need to re-intialize Internal Item Source.
+ if (InternalItemSource != null)
+ {
+ InternalItemSource.Dispose();
+ InternalItemSource = null;
+ }
+ if (ItemsSource != null)
+ InternalItemSource = ItemsSourceFactory.Create(this);
Init();
}
}
{
groupFooterTemplate = value;
needInitalizeLayouter = true;
+ //Need to re-intialize Internal Item Source.
+ if (InternalItemSource != null)
+ {
+ InternalItemSource.Dispose();
+ InternalItemSource = null;
+ }
+ if (ItemsSource != null)
+ InternalItemSource = ItemsSourceFactory.Create(this);
Init();
}
}