Click here to Skip to main content
15,902,198 members
Home / Discussions / WPF
   

WPF

 
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 
AnswerRe: OnChange of a model field Pin
Wayne Gaylard17-Nov-11 20:25
professionalWayne Gaylard17-Nov-11 20:25 
Personally, I implement INotifyProperty on my models, then reference the models in the client. Then I instruct my WCF service reference to reuse types in all referenced assemblies. So my tiers look something like this:-

C#
//Models
public class Employee:INotifyProperty, IDataErrorInfo
{
    //properties call OnPropertyChanged
    //Validation done here 
}
//Data Access
public class EmployeeDataAccess
{
    //Methods to save, insert, retrieve Employees
}
//WCF service - references models and data access
IEmployeeService
EmployeeService
//Client- references models - no reference to data access - has Service reference - service reuses model reference
public class EmployeeViewModel
{}
public class EmployeeView
{}


Of course the client is a little more complicated than shown as it has a service manager that actually deals with data I/O and acts as a mediator between viewmodels - but that's the gist of it - and it works .
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

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 
QuestionGet RadioButtons from RadioButtonGroups and vice versa Pin
Defender-NF14-Nov-11 21:28
Defender-NF14-Nov-11 21:28 

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.