I’m creating a custom component (with its ViewModel) that is composed of a list of some objects.
Each row is represented by another custom component (with its own ViewModel too).
I’d like to set the width of each row equal to the width of the “container” list…
But i can’t! How can I do that?
I am guessing you are using a
ListBox? If so, you need to set theItemContainerStyleto stretch across the entire available width:Referencing this style as follows:
See this forum thread for more details.