Click here to Skip to main content
15,890,438 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Assign a null value to DateTime property Pin
maxRazar28-Aug-13 5:57
maxRazar28-Aug-13 5:57 
AnswerRe: Assign a null value to DateTime property Pin
koll Zhu22-Sep-13 23:47
koll Zhu22-Sep-13 23:47 
QuestionProper way to do this in MVVM? Pin
SledgeHammer0126-Aug-13 11:46
SledgeHammer0126-Aug-13 11:46 
AnswerRe: Proper way to do this in MVVM? Pin
Pete O'Hanlon26-Aug-13 12:39
mvePete O'Hanlon26-Aug-13 12:39 
GeneralRe: Proper way to do this in MVVM? Pin
SledgeHammer0126-Aug-13 12:56
SledgeHammer0126-Aug-13 12:56 
AnswerRe: Proper way to do this in MVVM? Pin
Abhinav S26-Aug-13 16:29
Abhinav S26-Aug-13 16:29 
QuestionTreeView Pin
columbos1492726-Aug-13 2:32
columbos1492726-Aug-13 2:32 
AnswerRe: TreeView Pin
Jason Gleim27-Aug-13 5:36
professionalJason Gleim27-Aug-13 5:36 
Put a content control inside of the border and bind it to a content property on your ViewModel. Use the Interactivity library to attach a command to the selected node change event or the EventToCommand helper in MVVM Light. In either case, the command handler in your ViewModel will set the content property on the VM to an instance of the user control you want to display. The binding will automatically pick it up and display it inside the content control.

Your user controls can each have their own view model to handle their functionality. In this way you essentially swap encapsulated views/viewmodels in and out of a container at will.
GeneralRe: TreeView Pin
columbos1492727-Aug-13 7:46
columbos1492727-Aug-13 7:46 
GeneralRe: TreeView Pin
Jason Gleim27-Aug-13 8:11
professionalJason Gleim27-Aug-13 8:11 
GeneralRe: TreeView Pin
columbos1492727-Aug-13 19:29
columbos1492727-Aug-13 19:29 
QuestionCurrency Converter(Silverlight+MVVM) Pin
Ipsita_2324-Aug-13 1:48
Ipsita_2324-Aug-13 1:48 
AnswerRe: Currency Converter(Silverlight+MVVM) Pin
Abhinav S24-Aug-13 2:10
Abhinav S24-Aug-13 2:10 
GeneralRe: Currency Converter(Silverlight+MVVM) Pin
Ipsita_2324-Aug-13 6:29
Ipsita_2324-Aug-13 6:29 
GeneralRe: Currency Converter(Silverlight+MVVM) Pin
Richard MacCutchan24-Aug-13 6:36
mveRichard MacCutchan24-Aug-13 6:36 
AnswerRe: Currency Converter(Silverlight+MVVM) Pin
Abhinav S24-Aug-13 17:37
Abhinav S24-Aug-13 17:37 
GeneralRe: Currency Converter(Silverlight+MVVM) Pin
Ipsita_2325-Aug-13 1:09
Ipsita_2325-Aug-13 1:09 
QuestionControl's Border Color animation Pin
thecco23-Aug-13 7:08
thecco23-Aug-13 7:08 
AnswerRe: Control's Border Color animation Pin
koll Zhu22-Sep-13 23:49
koll Zhu22-Sep-13 23:49 
Questionhow to show data in combobox from database in silverlight Pin
Member 793334323-Aug-13 1:22
Member 793334323-Aug-13 1:22 
AnswerRe: how to show data in combobox from database in silverlight Pin
Richard MacCutchan23-Aug-13 2:56
mveRichard MacCutchan23-Aug-13 2:56 
AnswerRe: how to show data in combobox from database in silverlight Pin
Brian Holsen25-Aug-13 18:22
Brian Holsen25-Aug-13 18:22 
AnswerRe: how to show data in combobox from database in silverlight Pin
koll Zhu22-Sep-13 23:49
koll Zhu22-Sep-13 23:49 
QuestionWPF DataGrid ComboBox Column Binding Problem Pin
Kevin Marois22-Aug-13 5:13
professionalKevin Marois22-Aug-13 5:13 
QuestionWPF - Understanding Binding Syntax Pin
Kevin Marois20-Aug-13 8:29
professionalKevin Marois20-Aug-13 8:29 

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.