Click here to Skip to main content
15,898,756 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: MSDN Silverlight Webcast feeds from 2008! Pin
Abhinav S21-Feb-11 18:28
Abhinav S21-Feb-11 18:28 
GeneralRe: MSDN Silverlight Webcast feeds from 2008! Pin
RobCroll21-Feb-11 19:19
RobCroll21-Feb-11 19:19 
Questionpitch circle Pin
pet220-Feb-11 20:31
pet220-Feb-11 20:31 
AnswerRe: pitch circle Pin
Abhinav S20-Feb-11 21:00
Abhinav S20-Feb-11 21:00 
QuestionSilverlight drawing functions Pin
bruno.picardi19-Feb-11 0:19
bruno.picardi19-Feb-11 0:19 
AnswerRe: Silverlight drawing functions Pin
SledgeHammer0119-Feb-11 5:59
SledgeHammer0119-Feb-11 5:59 
GeneralRe: Silverlight drawing functions Pin
bruno.picardi19-Feb-11 20:55
bruno.picardi19-Feb-11 20:55 
GeneralRe: Silverlight drawing functions Pin
SledgeHammer0120-Feb-11 6:15
SledgeHammer0120-Feb-11 6:15 
As I said, do NOT use that if you are going Silverlight / WPF. VERY bad idea.

1) it is very slow
2) it defeats the whole purpose of Silverlight / WPF.

You need to understand Silverlight / WPF at the CONCEPTUAL level before you even consider it.

In GDI / GDI+ you piece together / GUIs at the pixel level and it all gets drawn on a single surface / off screen DC / double buffered, etc.

No such concepts in Silverlight / WPF. You piece together GUIs at the OBJECT level (controls & shapes) and you end up with a LAYERED SURFACE.

In GDI you draw a rectangle on screen and then draw another rectangle on top... now you have a flat surface with no idea of whats there. Its just pixels.

In WPF / SL, they remain as layered objects so you can move / resize / show / hide / animate / rotate / etc.

In WPF / SL you do your GUI in pretty much all XAML and only do business logic in the code behind.

So in answer to your question, you don't port GDI code to SL, you dump it and rewrite in XAML Smile | :) .
AnswerRe: Silverlight drawing functions Pin
Abhinav S19-Feb-11 6:51
Abhinav S19-Feb-11 6:51 
AnswerRe: Silverlight drawing functions Pin
RobCroll21-Feb-11 2:35
RobCroll21-Feb-11 2:35 
GeneralRe: Silverlight drawing functions Pin
bruno.picardi21-Feb-11 19:55
bruno.picardi21-Feb-11 19:55 
QuestionAdd a class instance that has a DataTemplate defining the class' visual appearance Pin
JimLaVine18-Feb-11 12:08
JimLaVine18-Feb-11 12:08 
AnswerRe: Add a class instance that has a DataTemplate defining the class' visual appearance Pin
RobCroll20-Feb-11 20:04
RobCroll20-Feb-11 20:04 
GeneralRe: Add a class instance that has a DataTemplate defining the class' visual appearance Pin
Mycroft Holmes20-Feb-11 20:22
professionalMycroft Holmes20-Feb-11 20:22 
GeneralRe: Add a class instance that has a DataTemplate defining the class' visual appearance Pin
RobCroll21-Feb-11 1:22
RobCroll21-Feb-11 1:22 
QuestionMax File Size in Isolated Storage? Pin
dbrenth18-Feb-11 9:28
dbrenth18-Feb-11 9:28 
AnswerRe: Max File Size in Isolated Storage? Pin
Steve Maier18-Feb-11 9:36
professionalSteve Maier18-Feb-11 9:36 
GeneralRe: Max File Size in Isolated Storage? Pin
dbrenth18-Feb-11 9:46
dbrenth18-Feb-11 9:46 
AnswerRe: Max File Size in Isolated Storage? Pin
dbrenth18-Feb-11 10:32
dbrenth18-Feb-11 10:32 
GeneralRe: Max File Size in Isolated Storage? Pin
Abhinav S20-Feb-11 17:53
Abhinav S20-Feb-11 17:53 
QuestionXmlDocument Pin
arkiboys18-Feb-11 5:26
arkiboys18-Feb-11 5:26 
AnswerRe: XmlDocument Pin
Abhinav S18-Feb-11 6:12
Abhinav S18-Feb-11 6:12 
GeneralRe: XmlDocument Pin
#realJSOP19-Feb-11 2:35
professional#realJSOP19-Feb-11 2:35 
AnswerRe: XmlDocument Pin
#realJSOP19-Feb-11 2:34
professional#realJSOP19-Feb-11 2:34 
GeneralRe: XmlDocument Pin
Abhinav S19-Feb-11 3:14
Abhinav S19-Feb-11 3:14 

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.