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

WPF

 
QuestionQuest: Werid selection bug for duplicate item in WPF listview Pin
zeuscoder2012@gmail.com21-Nov-10 7:29
zeuscoder2012@gmail.com21-Nov-10 7:29 
QuestionChildren in reverse order, add to the Grid Pin
rus20420-Nov-10 17:19
rus20420-Nov-10 17:19 
AnswerRe: Children in reverse order, add to the Grid Pin
Mycroft Holmes20-Nov-10 21:21
professionalMycroft Holmes20-Nov-10 21:21 
GeneralRe: Children in reverse order, add to the Grid Pin
rus20420-Nov-10 23:00
rus20420-Nov-10 23:00 
GeneralRe: Children in reverse order, add to the Grid Pin
Mycroft Holmes20-Nov-10 23:47
professionalMycroft Holmes20-Nov-10 23:47 
GeneralRe: Children in reverse order, add to the Grid Pin
rus20421-Nov-10 3:19
rus20421-Nov-10 3:19 
GeneralRe: Children in reverse order, add to the Grid Pin
Pete O'Hanlon21-Nov-10 4:44
mvePete O'Hanlon21-Nov-10 4:44 
AnswerRe: Children in reverse order, add to the Grid Pin
Abhinav S20-Nov-10 23:42
Abhinav S20-Nov-10 23:42 
GeneralRe: Children in reverse order, add to the Grid Pin
rus20421-Nov-10 3:36
rus20421-Nov-10 3:36 
AnswerRe: Children in reverse order, add to the Grid Pin
Abhinav S21-Nov-10 5:57
Abhinav S21-Nov-10 5:57 
QuestionVB.Net/Silverlight Namespace(?) Issue [UPDATED] Pin
#realJSOP19-Nov-10 4:05
professional#realJSOP19-Nov-10 4:05 
AnswerRe: VB.Net/Silverlight Namespace(?) Issue Pin
Abhinav S20-Nov-10 2:09
Abhinav S20-Nov-10 2:09 
GeneralRe: VB.Net/Silverlight Namespace(?) Issue Pin
#realJSOP20-Nov-10 4:12
professional#realJSOP20-Nov-10 4:12 
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
professional#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 

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.