Zindex to LongListSelector

The question I was asked earlier, How to set zindex to datatemplate in longlistselector earlier, but never got an answer. So I ask this myself, hoping that someone can help me.

I have LongListSelector

. ItemTemplate

consists of Border

. Now, by trying to do something like drag and drop, I made it possible to move objects (the (Border) element in the longListSelector) vertically. if i go to the top it's ok, if i go to the bottom the item i move goes behind other items LongListSelector

. So my first idea was to set zIndex toCanvas.SetZIndex(border, 1);

But that won't work.

Any suggestions?


source to share

All Articles