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 8589543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:04:55+00:00 2026-06-11T23:04:55+00:00

I am working on a WP7 app in the emulator. I have a page

  • 0

I am working on a WP7 app in the emulator.

I have a page with two rectangles on it, rect1 and rect2. rect2 overlaps rect1.

<Rectangle Name="rect1" Grid.Row="1" Width="200" Height="200" Fill="Aqua" MouseLeftButtonDown="rect1_MouseLeftButtonDown" MouseLeftButtonUp="rect1_MouseLeftButtonUp" />
<Rectangle Name="rect2" Margin="100,100,0,0" Grid.Row="1" Width="200" Height="200" Fill="Red" MouseLeftButtonUp="rect2_MouseLeftButtonUp"  Visibility="Collapsed" />

When I click on rect1 it receives a mouse-down event and in the code for this event I make rect2 visible. The mouse is then over the newly visible rect2. I release the mouse button, and wait for the mouse-up event on rect2.

rect2 does not receive a mouse up event.

Neither does rect1.

Neither does the page.

Where has the mouse-up event gone?

  • 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-11T23:04:56+00:00Added an answer on June 11, 2026 at 11:04 pm

    It turns out this is the expected behaviour and there is no rule that says for every mouse-down event there should be a corresponding mouse-up event.

    I solved my problem by using the manipulation events:

    ManipulationStarted
    ManipulationCompleted
    ManipulationDelta               
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a ListBox in a WP7 app page which I bind to a
I'm working on a WP7 app. The app will have a couple of XML
I am working on a WP7 app that displays some times on one page.
I have this memory game app that I'm working on, trying to learn WP7.
i'm working on sliverlight wrapper for wp7. This app is on https://github.com/slodge/face . As
I am working on an app on wp7. I hope to prompt a confirmation
I'm working with a webservice in WP7, but I get some syntax I have
I'm working on a WP7 mango App that makes use of Linq2SQL for data
I'm working on a WP7.1 app that records audio and plays it back. I'm
I'm working on a simple WP7 app that displays BART arrivals from their real

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.