How to bind the Stackpanel object into ListView
WPF
4
Posts
2
Posters
0
Views
1
Watching
-
Hi , In WPF, am trying to create ListView, Which binds with list of class KPI objects. Where the KPI class contains Name(string), StackPanel(which contains TextBlock + Image). I want to show only the StackPanel into the list , not the Name property. How do we bind the stack panel object alone .
-
Hi , In WPF, am trying to create ListView, Which binds with list of class KPI objects. Where the KPI class contains Name(string), StackPanel(which contains TextBlock + Image). I want to show only the StackPanel into the list , not the Name property. How do we bind the stack panel object alone .
you need to define the stackpanel in a column template.
-
you need to define the stackpanel in a column template.
-