Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

ListView inside ListView?

$
0
0

Hi there,

I've a question regarding Lisviews. I need to implement something that has and header data and some item data.

Something like:

0 Volume 1

   Item 1 | Size | Unit |

   Item 2 | Size | Unit |

   Item 3 | Size | Unit |

   ...

0 Volume 2

   Item 1  | Size | Unit |

   Item 2 | Size | Unit |

   ...

(I can't post images :( )

My question is what's the best and cleanest way to do this. With a TreeView? a Listview inside a ListView? Taking into account that when coming to selection, when i select an Item i want to select the whole volume.

Do you have any examples? 

In the ItemSource i would have binding with a List<> and for each item in this list i've another List.

Thanks in advance,

Best Regards,




Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>