Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
StackPanel rearrange
posted

I basically have a stack panel with 2(or more) different custom contents. Trying to figure out how they are ordered as i would like to be able to reverse them via drag and drop.

 

thanks 

  • 138253
    Offline posted

    Hello,

    It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post and I created a sample project for you with the functionality you want. Basically in the Drop event I remove the control from the StackPanel and add it to the new location basically on its old one.

    Feel free to write me if you have further questions.

    SilverlightApplication1.zip