Click here to Skip to main content
15,893,668 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Deploying with Silverlight 2.0 Pin
Michael Sync7-May-08 2:56
Michael Sync7-May-08 2:56 
QuestionHow to add reference to my silverlight project Pin
almora0075-May-08 23:46
almora0075-May-08 23:46 
AnswerRe: How to add reference to my silverlight project Pin
Michael Sync6-May-08 20:03
Michael Sync6-May-08 20:03 
QuestionCheckBox in Combobox Pin
aruna_koride5-May-08 23:45
aruna_koride5-May-08 23:45 
AnswerRe: CheckBox in Combobox Pin
User 2710097-May-08 23:35
User 2710097-May-08 23:35 
QuestionBinding to non-static collection? Pin
artwallacex5-May-08 19:52
artwallacex5-May-08 19:52 
AnswerRe: Binding to non-static collection? Pin
User 2710097-May-08 23:30
User 2710097-May-08 23:30 
QuestionIntegrating a Windows Forms control in WPF using Silverlight (Visual Studio 2008 and Expression Blend) Pin
Mr. Accident5-May-08 17:59
Mr. Accident5-May-08 17:59 
I'm using Visual Studio 2008 and MS Expression Blend to create a Silverlight application with C# and WPF.

My original goal was to rewrite a WinForms custom-drawn control in Silverlight / WPF, but from what I've seen, simply responding to a paint event and drawing stuff on a surface is a foreign concept to WPF. Fortunately, I found a few places that told me it was possible to simply host a Windows Forms control in a WPF application, which would solve my problem neatly and save me a lot of work in the process. (One such article here.)

The problem is, I can't seem to add any references to Windows Forms or Windows Forms Integration to my project. There don't seem to be any Windows Forms 3.5 assemblies on my system, even though I'm reasonably sure I've installed .NET 3.5 and everything. The only Windows Forms Integration DLL I have is from version 3.0, and I can't add any of these assemblies to my project because they were not built against the Silverlight libraries.

So what am I to do? Everything seems to indicate that hosting a WinForms control in WPF is possible, but does the fact that I am using WPF in Silverlight make this impossible?

If so, my secondary question would be: is there any way to just get a hold of a drawing surface in WPF and render text and shapes to it, like one would do with System.Drawing.Graphics? The new system of creating a bunch of shape objects seems really awkward for my purposes.

Any help would be greatly appreciated!

[Insert witty and relevant signature here]

AnswerRe: Integrating a Windows Forms control in WPF using Silverlight (Visual Studio 2008 and Expression Blend) Pin
Insincere Dave6-May-08 10:54
Insincere Dave6-May-08 10:54 
QuestionRe: Integrating a Windows Forms control in WPF using Silverlight (Visual Studio 2008 and Expression Blend) Pin
Mr. Accident6-May-08 11:40
Mr. Accident6-May-08 11:40 
QuestionSilverLight video time slider slow response Pin
shefali_sinha5-May-08 9:16
shefali_sinha5-May-08 9:16 
AnswerRe: SilverLight video time slider slow response Pin
AlanDiskin14-May-08 23:45
AlanDiskin14-May-08 23:45 
Question'Heroes Happen Here' Hands-On Lab Pin
David Veeneman5-May-08 5:34
David Veeneman5-May-08 5:34 
AnswerRe: 'Heroes Happen Here' Hands-On Lab Pin
geekgirrrl1-Jul-08 9:54
geekgirrrl1-Jul-08 9:54 
QuestionTabControl: WinForms Vs WPF Pin
yanairon4-May-08 21:30
yanairon4-May-08 21:30 
AnswerRe: TabControl: WinForms Vs WPF Pin
User 2710097-May-08 13:29
User 2710097-May-08 13:29 
AnswerRe: TabControl: WinForms Vs WPF Pin
Ajay.k_Singh9-May-08 12:13
Ajay.k_Singh9-May-08 12:13 
GeneralRe: TabControl: WinForms Vs WPF Pin
yanairon11-May-08 1:12
yanairon11-May-08 1:12 
QuestionHow to develop 3D virtual environment online using C#.net? Pin
katelva3-May-08 16:38
katelva3-May-08 16:38 
AnswerRe: How to develop 3D virtual environment online using C#.net? Pin
Michael Sync5-May-08 17:09
Michael Sync5-May-08 17:09 
QuestionHow to develop virtual environment online using C# with Managed DirectX? Pin
katelva3-May-08 8:21
katelva3-May-08 8:21 
AnswerRe: How to develop virtual environment online using C# with Managed DirectX? Pin
Christian Graus3-May-08 13:31
protectorChristian Graus3-May-08 13:31 
QuestionReusable Animation Class Pin
Jammer2-May-08 7:32
Jammer2-May-08 7:32 
AnswerRe: Reusable Animation Class [modified] Pin
Insincere Dave2-May-08 11:42
Insincere Dave2-May-08 11:42 
GeneralRe: Reusable Animation Class Pin
Jammer2-May-08 12:53
Jammer2-May-08 12:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.