Click here to Skip to main content
15,909,953 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Microsoft Ribbon Icons Pin
Abhinav S13-Mar-11 19:10
Abhinav S13-Mar-11 19:10 
QuestionWeak reference keeping objects alive with Mediator Pin
_Maxxx_11-Mar-11 1:41
professional_Maxxx_11-Mar-11 1:41 
AnswerRe: Weak reference keeping objects alive with Mediator Pin
Pete O'Hanlon11-Mar-11 2:48
mvePete O'Hanlon11-Mar-11 2:48 
GeneralRe: Weak reference keeping objects alive with Mediator Pin
_Maxxx_11-Mar-11 18:06
professional_Maxxx_11-Mar-11 18:06 
AnswerRe: Weak reference keeping objects alive with Mediator Pin
SledgeHammer0111-Mar-11 8:37
SledgeHammer0111-Mar-11 8:37 
GeneralRe: Weak reference keeping objects alive with Mediator Pin
_Maxxx_11-Mar-11 18:11
professional_Maxxx_11-Mar-11 18:11 
GeneralRe: Weak reference keeping objects alive with Mediator Pin
SledgeHammer0111-Mar-11 20:43
SledgeHammer0111-Mar-11 20:43 
GeneralRe: Weak reference keeping objects alive with Mediator Pin
_Maxxx_13-Mar-11 1:39
professional_Maxxx_13-Mar-11 1:39 
SledgeHammer01 wrote:
If a view doesn't unsub from something and causes a leak, why not fix the view rather then hide the problem?


COuldn't agree more!

S'funny. I started off a while ago asking about why people use messages rather than events - I mean my ViewModel can subscribe to an event raised by another "some singleton object" in response to a request by a ViewModel

I didn't get the difference between that and the situation where my ViewModel can subscribe to a message sent by "some singleton object" in response to a request by a viewmodel.

The difference as I understood it was allowing weak references to be used - but that's really only an advantage I think if you subscribe from one VM directly to an event raised by another VM - rather than some singleton...

I feel lI must be missing something, and perhaps need to go back and read the various articles about this - because I'm back to squeare one again now - thinking I may as well use familiar old events
___________________________________________
.\\axxx
(That's an 'M')

GeneralRe: Weak reference keeping objects alive with Mediator Pin
_Maxxx_13-Mar-11 15:10
professional_Maxxx_13-Mar-11 15:10 
QuestionA basic KIOSK application using WPF/ Silverlight Pin
Member 365700710-Mar-11 20:50
Member 365700710-Mar-11 20:50 
AnswerRe: A basic KIOSK application using WPF/ Silverlight Pin
Abhinav S10-Mar-11 21:24
Abhinav S10-Mar-11 21:24 
AnswerRe: A basic KIOSK application using WPF/ Silverlight Pin
Richard MacCutchan10-Mar-11 22:31
mveRichard MacCutchan10-Mar-11 22:31 
GeneralRe: A basic KIOSK application using WPF/ Silverlight Pin
Member 365700710-Mar-11 23:02
Member 365700710-Mar-11 23:02 
GeneralRe: A basic KIOSK application using WPF/ Silverlight Pin
Richard MacCutchan10-Mar-11 23:48
mveRichard MacCutchan10-Mar-11 23:48 
QuestionMVVM Messenger / Mediator question Pin
_Maxxx_9-Mar-11 15:29
professional_Maxxx_9-Mar-11 15:29 
AnswerRe: MVVM Messenger / Mediator question Pin
SledgeHammer019-Mar-11 17:21
SledgeHammer019-Mar-11 17:21 
AnswerRe: MVVM Messenger / Mediator question Pin
Pete O'Hanlon9-Mar-11 20:06
mvePete O'Hanlon9-Mar-11 20:06 
GeneralRe: MVVM Messenger / Mediator question Pin
_Maxxx_9-Mar-11 21:25
professional_Maxxx_9-Mar-11 21:25 
GeneralRe: MVVM Messenger / Mediator question Pin
Pete O'Hanlon9-Mar-11 21:33
mvePete O'Hanlon9-Mar-11 21:33 
GeneralRe: MVVM Messenger / Mediator question Pin
_Maxxx_9-Mar-11 22:57
professional_Maxxx_9-Mar-11 22:57 
GeneralRe: MVVM Messenger / Mediator question Pin
Pete O'Hanlon9-Mar-11 23:12
mvePete O'Hanlon9-Mar-11 23:12 
GeneralRe: MVVM Messenger / Mediator question Pin
_Maxxx_9-Mar-11 23:45
professional_Maxxx_9-Mar-11 23:45 
GeneralRe: MVVM Messenger / Mediator question Pin
Pete O'Hanlon10-Mar-11 0:14
mvePete O'Hanlon10-Mar-11 0:14 
GeneralRe: MVVM Messenger / Mediator question Pin
_Maxxx_10-Mar-11 1:00
professional_Maxxx_10-Mar-11 1:00 
GeneralRe: MVVM Messenger / Mediator question Pin
Pete O'Hanlon10-Mar-11 1:43
mvePete O'Hanlon10-Mar-11 1:43 

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.