locked
Differents template for different rows in a ListView RRS feed

  • Question

  • Hi,

    I have a listview that shows a list of elements of two types, files and folders. This listview has 4 columns ( Name, Data, Size and Icon ). For files, all columns has sense but not for folders ( they only have Name field ). So I would like to use a different template for folders ( like a RowSpan for 4 columns o something like this )

    My ideas started using a ListBox instead of a ListView but, I loose column resizing. I'm thinking in it but I have no idea.

    Any help?

    Thanks.
    Thursday, November 6, 2008 3:23 PM

Answers