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

  • Home
  • SEARCH
  • 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 7544011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:34:32+00:00 2026-05-30T08:34:32+00:00

I have a Silverlight control i need to convert to WPF (Yes, i know

  • 0

I have a Silverlight control i need to convert to WPF
(Yes, i know that’s not wise, don’t have a choice)
And i am aware that some assemblies need to be changed.
this is a follow up of this question

Now i am kinda sure that i’m missing a big thing here.
DIdn’t really know how to do that so i just started copying all the cs files code to new
class project.
Now i get all kind of weirds errors.
Most for assemblies missing ( ofcourse),
Now what i fail to understand is i’m missing very basic stuff and i am calling the right ones i belive. stuff i used in other WPF applications.
for isntance i get Errors for theese classes :
Point, Size, UIElement, DependencyProperty, MouseEventHandler etc.

Now the project is just 14 classes, no main file or anything, could this be related?

Anyway, i’m using this code to call assemblies (preety much the same anywhere):

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Text;
using System.Threading;
using System.ComponentModel;
using System.Globalization;
using System.Diagnostics.CodeAnalysis;

And the VS isn’t givining me on help any assembly i could call, just the option to generate my own class.

I am targeting Framework 4.0 using VS 2010

Help!

  • 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-05-30T08:34:33+00:00Added an answer on May 30, 2026 at 8:34 am

    Did you put this control in a new WPF project? If you didnt make sure you add these References

    • PresentationFramework
    • PresentationCore
    • WindowsBase
    • System.Xaml

    Then remove all your using Statements and readd them all.

    You also may need

    • System.Drawing depending on what Point you are using
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to draw a pushpin for the Bing Silverlight control that can have
I need some advice regarding the handling of a Silverlight control that I need
I have a Silverlight control that tries to have the same background as the
I have a control in Silverlight 2 that changes state during the application. When
I'm just getting started with silverlight. Basically I have a silverlight user control that
I need to convert a Silverlight App to WPF (to finally run it on
I have a silverlight control on my asp.net mvc page, need to communicate with
I have a silverlight control that prints to about 1.5 pages. I'd like to
I have a Silverlight client that I need to call a web service. The
I'm currently programming an application in Silverlight which need to have a control to

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.