Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8714847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:42:01+00:00 2026-06-13T05:42:01+00:00

I want to make a metro user control draggable. The user should be able

  • 0

I want to make a metro user control draggable. The user should be able to drag it and drop it on other controls, causing things to happen. How do I implement this functionality?

The only method I’ve discovered that works is using the GridView and ListView controls. They have a ‘CanDragItems’ property which, when true, means any item in the view can be dragged and dropped. I tried wrapping my control in a gridview or listview but they interfere with the layout in ways I don’t understand.

I’d prefer not to emulate functionality provided by the OS. I could do it, by using the raw mouse/tap events, but it wouldn’t properly respect system settings like the size of the dead zone preventing accidental dragging.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T05:42:03+00:00Added an answer on June 13, 2026 at 5:42 am

    I ended up just emulating the functionality by watching mouse events. I ask the control being dragged for a ‘doppleganger’ copy that looks the same but has no functionality, place it on the top-level grid, and adjust its render transform to move it.

    However, note that if my requirements had been slightly different I might have been able to use the manipulation mode/events to do what I wanted. They’re particularly nice because they have inertia built-in, but they’re a bit pickier about focus and I didn’t manage to cross parent control boundaries with it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want make interactive application where user launches it and can do various task
I want make the control height as double when the mouse is over that
i want make a news site gets its content from other news sites, open
I have a create.js.erb, I want make this: if the user click to create
I have a problem with web cams in Win8 metro. I want to make
I want make an application in android in which user can input two geo
I want make datetimepicker in my project. Using jquery how it is possible? I
I want make a bash script which returns the position of an element from
Let's say I want make some of my sources publicly available via my blog
I am new android app developer i want make app for tablets and phone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.