Click here to Skip to main content
15,890,690 members
Home / Discussions / WPF
   

WPF

 
QuestionPrinting nested WPF Custom Controls to XPS (and PDF) Pin
mmsinclair22-Feb-10 5:10
mmsinclair22-Feb-10 5:10 
QuestionHow I get Application_Exit Eventhandler in javascript code Pin
xodeblack22-Feb-10 4:24
xodeblack22-Feb-10 4:24 
AnswerRe: How I get Application_Exit Eventhandler in javascript code Pin
Daniel Vaughan25-Feb-10 7:04
Daniel Vaughan25-Feb-10 7:04 
Questionsilverlight (strange) [modified] Pin
Yonathan111121-Feb-10 21:21
professionalYonathan111121-Feb-10 21:21 
QuestionChildWindow Odd Behaviour Pin
Jammer21-Feb-10 6:36
Jammer21-Feb-10 6:36 
QuestionWPF DataGrid: Clipping on ColumnHeadersPresenter Pin
Mikey_H20-Feb-10 20:52
Mikey_H20-Feb-10 20:52 
QuestionDispose called on Window forms Dynamic controls Pin
Member 336560720-Feb-10 7:06
Member 336560720-Feb-10 7:06 
AnswerRe: Dispose called on Window forms Dynamic controls Pin
Luc Pattyn21-Feb-10 4:53
sitebuilderLuc Pattyn21-Feb-10 4:53 
Hi,

In WinForms there is no need to remove the event handlers at all; they are lists of delegates, and they reside inside the Control, so removing and disposing of the Controls takes care of everything.

Although I haven't looked at WPF in any detail, I see no reason why it would be different there. So IMO you can remove all those -= statements.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.

Questioncreate a text blocked kind contact in hotmail Pin
rafaelht310819-Feb-10 13:09
rafaelht310819-Feb-10 13:09 
QuestionWPF Grid double clicked event Pin
sughasini18-Feb-10 23:08
sughasini18-Feb-10 23:08 
AnswerRe: WPF Grid double clicked event [add timmer] Pin
ProtoBytes19-Feb-10 4:30
ProtoBytes19-Feb-10 4:30 
QuestionHow to hide a control when its available space is too small Pin
daniel radford18-Feb-10 22:30
daniel radford18-Feb-10 22:30 
AnswerRe: How to hide a control when its available space is too small Pin
ProtoBytes19-Feb-10 4:31
ProtoBytes19-Feb-10 4:31 
QuestionSDK trouble in WPF Pin
Etienne_12318-Feb-10 6:07
Etienne_12318-Feb-10 6:07 
AnswerRe: SDK trouble in WPF Pin
Pete O'Hanlon18-Feb-10 9:51
mvePete O'Hanlon18-Feb-10 9:51 
GeneralRe: SDK trouble in WPF Pin
Etienne_12321-Feb-10 3:51
Etienne_12321-Feb-10 3:51 
QuestionText Box Validation in C#, not XAML? Pin
MattFunke18-Feb-10 4:49
MattFunke18-Feb-10 4:49 
AnswerRe: Text Box Validation in C#, not XAML? Pin
Stryder_118-Feb-10 6:17
Stryder_118-Feb-10 6:17 
GeneralRe: Text Box Validation in C#, not XAML? Pin
MattFunke18-Feb-10 7:07
MattFunke18-Feb-10 7:07 
AnswerRe: Text Box Validation in C#, not XAML? Pin
Pete O'Hanlon18-Feb-10 9:12
mvePete O'Hanlon18-Feb-10 9:12 
QuestionFacial recognition Pin
Etienne_12318-Feb-10 2:50
Etienne_12318-Feb-10 2:50 
AnswerRe: Facial recognition Pin
ProtoBytes19-Feb-10 4:36
ProtoBytes19-Feb-10 4:36 
AnswerRe: Facial recognition Pin
ProtoBytes19-Feb-10 4:46
ProtoBytes19-Feb-10 4:46 
QuestionDynamic loading Pin
nerra17-Feb-10 17:43
nerra17-Feb-10 17:43 
AnswerRe: Dynamic loading Pin
AspDotNetDev17-Feb-10 18:36
protectorAspDotNetDev17-Feb-10 18:36 

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.