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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T10:16:09+00:00 2026-06-03T10:16:09+00:00

I am using VisualStudio 11 beta for windows 8 metro apps development, I have

  • 0

I am using VisualStudio 11 beta for windows 8 metro apps development, I have a error.
Error is:

Cannot implicitly convert type 
   'System.EventHandler<Windows.UI.Input.ManipulationStartedEventArgs>' to 
   'Windows.UI.Xaml.Input.ManipulationStartedEventHandler'

and my code is.

selectRectangle.ManipulationStarted += new EventHandler<ManipulationStartedEventArgs>(OnRectangleManipulationStarted);
ellipseTL.ManipulationStarted += new EventHandler<ManipulationStartedEventArgs>(OnRectangleManipulationStarted);
  • 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-03T10:16:14+00:00Added an answer on June 3, 2026 at 10:16 am

    I haven’t worked with VS 2012 for Metro yet, but from what I understand, Metro/.NET 4.5 does a bit of reorganization of namespaces, or at least the selectRectangle/ellipseTL.ManipulationStarted events use a different class. Certainly in this case, they’re looking for a ManipulationStartedEventHandler not an EventHandler<>.

    Try this instead:

    selectRectangle.ManipulationStarted += new Windows.UI.Xaml.Input.ManipulationStartedEventHandler(OnRectangleManipulationStarted);
    ellipseTL.ManipulationStarted += new Windows.UI.Xaml.Input.ManipulationStartedEventHandler(OnRectangleManipulationStarted);
    

    Or use the implicit event handler syntax:

    selectRectangle.ManipulationStarted += OnRectangleManipulationStarted;
    ellipseTL.ManipulationStarted += OnRectangleManipulationStarted;
    

    But like I said, I haven’t worked with the new API yet, so this is just a best guess from my experience with 4.0.

    EDIT: You might also need to change the signature of your OnRectangleManipulationStarted method to match the ManipulationStartedEventHandler signature.

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

Sidebar

Related Questions

I am successfully instantiating/automating Visual Studio using the following code: System.Type t = System.Type.GetTypeFromProgID(VisualStudio.DTE.9.0);
I am using VisualStudio .NET 2003 on Windows 7. I get the error below
In my Windows 8 app written using Visual Studio 11 Express Beta, I cannot
I'm having the following problem using the Visual Studio 2010 Team System Beta 1:
I have created a web application using Visualstudio 2008 using C# on my computer.
I have made an addin for Microsoft Word 2010 Beta using Visual Studio 2010
My temporary developer license (using Visual Studio 2011 Beta and Windows 8 Consumer Preview)
I have a very nice MVC Beta application developed using VS2008 on a win2008
How do i use the JSON Library in Monodroid using VisualStudio 2010. I cannot
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Text.RegularExpressions; using System.Threading;

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.