Click here to Skip to main content
15,910,878 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Design an analysis Program Pin
Pete O'Hanlon22-Feb-11 1:46
mvePete O'Hanlon22-Feb-11 1:46 
AnswerRe: Design an analysis Program Pin
Lisa Z. Morgan23-Feb-11 5:58
Lisa Z. Morgan23-Feb-11 5:58 
QuestionHow to display a particular controls after user selection of a data from a combobox.. Pin
Rocky2321-Feb-11 20:03
Rocky2321-Feb-11 20:03 
AnswerRe: How to display a particular controls after user selection of a data from a combobox.. Pin
Mycroft Holmes21-Feb-11 21:15
professionalMycroft Holmes21-Feb-11 21:15 
GeneralRe: How to display a particular controls after user selection of a data from a combobox.. Pin
Rocky2321-Feb-11 22:29
Rocky2321-Feb-11 22:29 
GeneralRe: How to display a particular controls after user selection of a data from a combobox.. Pin
Mycroft Holmes21-Feb-11 23:58
professionalMycroft Holmes21-Feb-11 23:58 
AnswerRe: How to display a particular controls after user selection of a data from a combobox.. Pin
Jammer22-Feb-11 23:41
Jammer22-Feb-11 23:41 
QuestionWPF RoutedEvent not firing Pin
GreatBigYetti21-Feb-11 13:01
GreatBigYetti21-Feb-11 13:01 
AnswerRe: WPF RoutedEvent not firing Pin
GreatBigYetti23-Feb-11 1:28
GreatBigYetti23-Feb-11 1:28 
QuestionMSDN Silverlight Webcast feeds from 2008! Pin
RobCroll21-Feb-11 11:32
RobCroll21-Feb-11 11:32 
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 

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.