Hi I've a collection with itemname and header, and I've to group based on header, and if the header is empty the group style must be a button, or else it should give expander and the itemnames as its content.
{itemname="cadbury" header="choclates"}
{itemname="5 star" header="choclates"}
{itemname="Flapjack" header=""}
{itemanem="ford" header="car"}
{itemname="mercedes" header="car"}
My solution should be when we have header, it should return a expander with choclates as header name and cadbury, 5 star as its content... and when we the header is empty it should return a button as "flapjack'.
can we solve this with collectionviewsource in xaml..
please anyone help me... [email protected] thanks in advance.