Click here to Skip to main content
15,907,392 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Set DisplayMemberPath For Dynamic Combobox Pin
Alisaunder13-Oct-11 2:46
Alisaunder13-Oct-11 2:46 
GeneralRe: Set DisplayMemberPath For Dynamic Combobox Pin
Wayne Gaylard13-Oct-11 2:59
professionalWayne Gaylard13-Oct-11 2:59 
QuestionWPF Datagrid checkbox property not updated Pin
Preston Phillips11-Oct-11 8:17
Preston Phillips11-Oct-11 8:17 
AnswerRe: WPF Datagrid checkbox property not updated Pin
Wayne Gaylard12-Oct-11 1:11
professionalWayne Gaylard12-Oct-11 1:11 
GeneralRe: WPF Datagrid checkbox property not updated Pin
Preston Phillips12-Oct-11 3:52
Preston Phillips12-Oct-11 3:52 
GeneralRe: WPF Datagrid checkbox property not updated Pin
Preston Phillips12-Oct-11 4:38
Preston Phillips12-Oct-11 4:38 
GeneralRe: WPF Datagrid checkbox property not updated Pin
Preston Phillips12-Oct-11 5:15
Preston Phillips12-Oct-11 5:15 
QuestionValue Conversions Pin
Geysser8-Oct-11 9:04
Geysser8-Oct-11 9:04 
IValueConverter and IMultiValueConverter are pretty convenient when it comes to value conversions in a software but, as we all know, there is never one way to do things.
The below scenario is very simple: a Model exposes properties to a ViewModel and these values need to be presented in the View.When these values need to be displayed in a specific way - say, the dimensions of an image diplayed with the appropriate units in a status bar - the above interfaces would do the job. However...
Some one said once that a ViewModel is simply "a converter in steroids" and he seems to have a point. The ViewModel could do the conversions via some simple routines and expose the results to the view for binding. This way we avoid loading our application with classes that - most probably - will be used only once. On the other hand, we bulk the ViewModel with lines and lines of code, loosing the focus and reducing maintainability.

What do you think? Which, in your opinion, is the best practice? I would really like to hear your opinions on the matter!
AnswerRe: Value Conversions Pin
Abhinav S9-Oct-11 0:45
Abhinav S9-Oct-11 0:45 
AnswerRe: Value Conversions Pin
SledgeHammer019-Oct-11 8:05
SledgeHammer019-Oct-11 8:05 
GeneralRe: Value Conversions Pin
Geysser9-Oct-11 8:18
Geysser9-Oct-11 8:18 
GeneralRe: Value Conversions Pin
SledgeHammer019-Oct-11 9:02
SledgeHammer019-Oct-11 9:02 
AnswerRe: Value Conversions Pin
Pete O'Hanlon9-Oct-11 9:30
mvePete O'Hanlon9-Oct-11 9:30 
GeneralRe: Value Conversions Pin
Geysser10-Oct-11 5:55
Geysser10-Oct-11 5:55 
GeneralRe: Value Conversions Pin
Pete O'Hanlon10-Oct-11 6:12
mvePete O'Hanlon10-Oct-11 6:12 
GeneralRe: Value Conversions Pin
SledgeHammer0110-Oct-11 10:03
SledgeHammer0110-Oct-11 10:03 
GeneralRe: Value Conversions Pin
SledgeHammer0110-Oct-11 11:13
SledgeHammer0110-Oct-11 11:13 
GeneralRe: Value Conversions Pin
SledgeHammer0111-Oct-11 5:10
SledgeHammer0111-Oct-11 5:10 
QuestionCustom Strtpage Namespace Problem Pin
Kevin Marois7-Oct-11 8:53
professionalKevin Marois7-Oct-11 8:53 
AnswerRe: Custom Strtpage Namespace Problem Pin
Alisaunder7-Oct-11 9:35
Alisaunder7-Oct-11 9:35 
GeneralRe: Custom Strtpage Namespace Problem Pin
Kevin Marois7-Oct-11 10:05
professionalKevin Marois7-Oct-11 10:05 
GeneralRe: Custom Strtpage Namespace Problem Pin
Kevin Marois7-Oct-11 10:41
professionalKevin Marois7-Oct-11 10:41 
QuestionUnable to click or select TextBox in WPF? [SOLVED] Pin
Alisaunder6-Oct-11 5:29
Alisaunder6-Oct-11 5:29 
AnswerRe: Unable to click or select TextBox in WPF? Pin
SledgeHammer016-Oct-11 6:33
SledgeHammer016-Oct-11 6:33 
GeneralRe: Unable to click or select TextBox in WPF? Pin
Alisaunder6-Oct-11 6:40
Alisaunder6-Oct-11 6:40 

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.