I have ItemsControl which is bound and creates multiple Polylines, one for each data item.
Currently I get “stack” like display – First Polyline at the top, below is second, below is third, and so on…
How can I make Polylines appear on the top of each other?
You need to change the ItemsPanel of your
ItemsControl(which is by default aStackPanelthat’s why you get the “stack” like display) to anotherPanelwhich allows it’s Children to be placed on each other like theCanvasor theGrid: