I’ve created a UserControl that contains a ScrollViewer panel that contains a data bounds ItemsControl. When I add this UserControl into a Grid‘s cell in the parent Window, the ScrollViewer expands to contain all of the items in the ItemsControl rather than constraining to the dimensions of the cell. Because of this, it won’t scroll the items.
I’ve created a UserControl that contains a ScrollViewer panel that contains a data bounds
Share
I figured it out. I had my layout a little bit messed up. Somehow I had a
ListBoxinside aScrollViewand so the twoScrollViewersmessed each other up.Sorry; WPF is very new to me. Still getting a feel for it.