Click here to Skip to main content
15,901,122 members
Home / Discussions / WPF
   

WPF

 
QuestionWPF Nested Treeviews Pin
Kevin Marois19-Nov-11 8:19
professionalKevin Marois19-Nov-11 8:19 
QuestionHow to add Scrollviewer inside Dragdockpanel? Pin
Dhivakar.M18-Nov-11 2:04
Dhivakar.M18-Nov-11 2:04 
AnswerRe: How to add Scrollviewer inside Dragdockpanel? Pin
Shmuel Zang19-Nov-11 9:28
Shmuel Zang19-Nov-11 9:28 
QuestionDrag and Drop Listbox in Windows Phone 7.1 Pin
rajeevkuth17-Nov-11 23:25
rajeevkuth17-Nov-11 23:25 
AnswerRe: Drag and Drop Listbox in Windows Phone 7.1 Pin
Loveisasea19-Nov-11 18:22
Loveisasea19-Nov-11 18:22 
GeneralRe: Drag and Drop Listbox in Windows Phone 7.1 Pin
rajeevkuth22-Nov-11 0:36
rajeevkuth22-Nov-11 0:36 
GeneralRe: Drag and Drop Listbox in Windows Phone 7.1 Pin
rajeevkuth23-Nov-11 0:54
rajeevkuth23-Nov-11 0:54 
QuestionOnChange of a model field Pin
Mycroft Holmes17-Nov-11 20:02
professionalMycroft Holmes17-Nov-11 20:02 
I have my model in the WCF, each model representing a table in the database (they are actually based on views to make them useful). Each field is an auto property with the basic get/set (no change event).

This model is propagated to the client via the reference of the WCF. So if I want to use the model I can reference it via Service.ModelName. This works perfectly and I am happily doing all my LOB work using this structure.

However this has a number of limitations that I can find. I have no model in the client and therefore cannot implement IEditable on the model. I also don't have and OnChange events on the model fields.

So far this is not painful but I feel I am doing it wrong. However the idea that I recreate the model in the client and extend it with the interface and event capability just feels wrong, getting the data from the WCF and moving it into and out of the local models just seems too clunky for my taste.
Never underestimate the power of human stupidity
RAH

AnswerRe: OnChange of a model field Pin
Wayne Gaylard17-Nov-11 20:25
professionalWayne Gaylard17-Nov-11 20:25 
GeneralRe: OnChange of a model field Pin
Mycroft Holmes17-Nov-11 21:00
professionalMycroft Holmes17-Nov-11 21:00 
GeneralRe: OnChange of a model field Pin
Wayne Gaylard17-Nov-11 21:17
professionalWayne Gaylard17-Nov-11 21:17 
GeneralRe: OnChange of a model field Pin
Mycroft Holmes17-Nov-11 21:54
professionalMycroft Holmes17-Nov-11 21:54 
GeneralRe: OnChange of a model field Pin
Wayne Gaylard17-Nov-11 22:01
professionalWayne Gaylard17-Nov-11 22:01 
GeneralRe: OnChange of a model field Pin
Mycroft Holmes18-Nov-11 11:15
professionalMycroft Holmes18-Nov-11 11:15 
GeneralRe: OnChange of a model field Pin
Wayne Gaylard18-Nov-11 17:02
professionalWayne Gaylard18-Nov-11 17:02 
QuestionWell this Lambda expression works Pin
AghaKhan16-Nov-11 13:47
AghaKhan16-Nov-11 13:47 
AnswerRe: Well this Lambda expression works Pin
Abhinav S16-Nov-11 19:51
Abhinav S16-Nov-11 19:51 
QuestionUnable to bind StoryBoard to a label Pin
eli1502197916-Nov-11 10:05
eli1502197916-Nov-11 10:05 
AnswerRe: Unable to bind StoryBoard to a label Pin
Pete O'Hanlon16-Nov-11 10:56
mvePete O'Hanlon16-Nov-11 10:56 
GeneralRe: Unable to bind StoryBoard to a label Pin
eli1502197916-Nov-11 22:33
eli1502197916-Nov-11 22:33 
GeneralRe: Unable to bind StoryBoard to a label Pin
Pete O'Hanlon16-Nov-11 22:59
mvePete O'Hanlon16-Nov-11 22:59 
GeneralRe: Unable to bind StoryBoard to a label Pin
eli1502197917-Nov-11 1:17
eli1502197917-Nov-11 1:17 
GeneralRe: Unable to bind StoryBoard to a label Pin
Pete O'Hanlon17-Nov-11 2:12
mvePete O'Hanlon17-Nov-11 2:12 
GeneralRe: Unable to bind StoryBoard to a label Pin
Wayne Gaylard17-Nov-11 2:16
professionalWayne Gaylard17-Nov-11 2:16 
QuestionUnable to add event handler for Minimizing the Ribbon Control in WPF Pin
Kushagra Tiwari15-Nov-11 2:35
Kushagra Tiwari15-Nov-11 2:35 

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.