Click here to Skip to main content
15,072,391 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a question.

I want to stuff a stackpanel(with items) into a listviewitem column/row. The rest of the columns on the same row are suposed to have text-content (maybe some icon too). How do i do this by code? Is it possible without having to trouble myself with too much XAML?


1 solution

The short answer is yes, anything you can do with XAML you can do with C#. Take a look at the ListView[^] class for examples.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900