Click here to Skip to main content
15,891,136 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: VB.Net/Silverlight Namespace(?) Issue Pin
_Maxxx_21-Nov-10 15:04
professional_Maxxx_21-Nov-10 15:04 
GeneralRe: VB.Net/Silverlight Namespace(?) Issue Pin
#realJSOP21-Nov-10 23:31
mve#realJSOP21-Nov-10 23:31 
QuestionMVVM type Question Pin
_Maxxx_18-Nov-10 19:52
professional_Maxxx_18-Nov-10 19:52 
AnswerRe: MVVM type Question Pin
Mycroft Holmes18-Nov-10 20:43
professionalMycroft Holmes18-Nov-10 20:43 
GeneralRe: MVVM type Question Pin
_Maxxx_18-Nov-10 22:48
professional_Maxxx_18-Nov-10 22:48 
GeneralRe: MVVM type Question Pin
Mycroft Holmes19-Nov-10 0:29
professionalMycroft Holmes19-Nov-10 0:29 
AnswerRe: MVVM type Question Pin
Pete O'Hanlon19-Nov-10 1:42
mvePete O'Hanlon19-Nov-10 1:42 
GeneralRe: MVVM type Question Pin
_Maxxx_19-Nov-10 3:53
professional_Maxxx_19-Nov-10 3:53 
Yeah - I'm beginning to think that the VM is for two things:

1. To control a View's logic
2. To provide a view with data

I'm beginning to wonder whether I should have two classes

1. A ViewController
2. A ViewData

The ViewData object is the provide of data for that particular view.
The ViewController handles any commands required for that view

The ViewController would need to be the View's DataContext - so would need a property of ViewData - but that seems more senisble to me than having a ViewModel with a whole heap of properties as well as a whole heap of command logic.

whadya reckon?
___________________________________________
.\\axxx
(That's an 'M')

GeneralRe: MVVM type Question Pin
Pete O'Hanlon19-Nov-10 4:04
mvePete O'Hanlon19-Nov-10 4:04 
GeneralRe: MVVM type Question Pin
_Maxxx_21-Nov-10 15:20
professional_Maxxx_21-Nov-10 15:20 
QuestionContext menu with check mark Pin
vikas amin18-Nov-10 4:59
vikas amin18-Nov-10 4:59 
AnswerRe: Context menu with check mark Pin
Abhinav S18-Nov-10 5:04
Abhinav S18-Nov-10 5:04 
GeneralRe: Context menu with check mark Pin
vikas amin17-Jan-11 5:04
vikas amin17-Jan-11 5:04 
QuestionActiveX Control in WPF Pin
martin500018-Nov-10 2:46
martin500018-Nov-10 2:46 
Questionrolling data in datagrid in silverlight Pin
CupLife17-Nov-10 23:52
CupLife17-Nov-10 23:52 
AnswerRe: rolling data in datagrid in silverlight Pin
Mycroft Holmes17-Nov-10 23:58
professionalMycroft Holmes17-Nov-10 23:58 
GeneralRe: rolling data in datagrid in silverlight Pin
CupLife18-Nov-10 0:15
CupLife18-Nov-10 0:15 
AnswerRe: rolling data in datagrid in silverlight Pin
Abhinav S18-Nov-10 0:56
Abhinav S18-Nov-10 0:56 
GeneralRe: rolling data in datagrid in silverlight Pin
CupLife18-Nov-10 1:27
CupLife18-Nov-10 1:27 
QuestionFile in DB or just Path Pin
mehrdadc4817-Nov-10 21:05
mehrdadc4817-Nov-10 21:05 
AnswerRe: File in DB or just Path Pin
Mycroft Holmes17-Nov-10 23:55
professionalMycroft Holmes17-Nov-10 23:55 
GeneralRe: File in DB or just Path Pin
Pete O'Hanlon18-Nov-10 0:14
mvePete O'Hanlon18-Nov-10 0:14 
GeneralRe: File in DB or just Path Pin
Mycroft Holmes18-Nov-10 0:24
professionalMycroft Holmes18-Nov-10 0:24 
GeneralRe: File in DB or just Path Pin
Pete O'Hanlon18-Nov-10 0:44
mvePete O'Hanlon18-Nov-10 0:44 
GeneralRe: File in DB or just Path Pin
#realJSOP18-Nov-10 1:52
mve#realJSOP18-Nov-10 1:52 

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.