Click here to Skip to main content
15,891,033 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Combobox in Listview Pin
Rolorob20-Feb-09 3:12
Rolorob20-Feb-09 3:12 
GeneralRe: Combobox in Listview Pin
ABitSmart20-Feb-09 3:16
ABitSmart20-Feb-09 3:16 
GeneralRe: Combobox in Listview Pin
Rolorob20-Feb-09 3:48
Rolorob20-Feb-09 3:48 
GeneralRe: Combobox in Listview Pin
ABitSmart20-Feb-09 4:04
ABitSmart20-Feb-09 4:04 
GeneralRe: Combobox in Listview Pin
Rolorob20-Feb-09 6:10
Rolorob20-Feb-09 6:10 
GeneralRe: Combobox in Listview Pin
ABitSmart21-Feb-09 2:42
ABitSmart21-Feb-09 2:42 
GeneralRe: Combobox in Listview Pin
mavifirar21-Feb-09 10:43
mavifirar21-Feb-09 10:43 
QuestionWPF and MVVM pattern question Pin
babongita18-Feb-09 8:14
babongita18-Feb-09 8:14 
I am trying to follow Karl Shifflett or Josh Smith MVVM pattern but I don't fully comprehend how I can make this happen. And I am hoping that I can get some help here.

I have an Object_A with some attributes, and an ObservableCollection<object_a>. Then in the UI I have a "view" of the attributes of Object_A, with a list box below which has the ObservableCollection<object_a>. What I want to be able to do is to be able to edit the attributes of the selected item in the list box and I want to be able to add a new Object_A if the "Add" button is clicked. This is where I get confused, because it is technically not bound any longer to the object in the list box it is it's own object that needs to be inserted into the ObservableCollection<object_a>.

I have two separate views and two view-models, and the "Add" button on the Object_A view-model, raises an event and passes the new Object A to the View-Model for the collection of Object_A, and if I set a break point and look at the Collection View-Model's ObservableCollection<object_a> which the UI is bound to the ObservableCollection<object_a> shows that the count has changed, but the UI doesn't reflect this change, is like the UI doesn't get notified that the ObservableCollection<object_a> has changed and the List box should be updated.

What should I be doing to get the UI to "refresh" itself when a new Object_A is being inserted into the ObservableCollection<objecta>?
AnswerRe: WPF and MVVM pattern question Pin
Pete O'Hanlon18-Feb-09 8:44
mvePete O'Hanlon18-Feb-09 8:44 
GeneralRe: WPF and MVVM pattern question Pin
babongita18-Feb-09 8:59
babongita18-Feb-09 8:59 
GeneralRe: WPF and MVVM pattern question Pin
Pete O'Hanlon18-Feb-09 9:09
mvePete O'Hanlon18-Feb-09 9:09 
GeneralRe: WPF and MVVM pattern question Pin
babongita18-Feb-09 10:02
babongita18-Feb-09 10:02 
GeneralRe: WPF and MVVM pattern question Pin
Pete O'Hanlon18-Feb-09 10:16
mvePete O'Hanlon18-Feb-09 10:16 
GeneralRe: WPF and MVVM pattern question Pin
Pete O'Hanlon19-Feb-09 21:52
mvePete O'Hanlon19-Feb-09 21:52 
GeneralRe: WPF and MVVM pattern question Pin
babongita20-Feb-09 2:42
babongita20-Feb-09 2:42 
GeneralRe: WPF and MVVM pattern question Pin
Pete O'Hanlon20-Feb-09 3:35
mvePete O'Hanlon20-Feb-09 3:35 
QuestionWPF ListView Databound Drag/Drop Auto Scroll Pin
snblackout18-Feb-09 4:25
snblackout18-Feb-09 4:25 
QuestionWPF System.Security.Permissions.SecurityPermission winmm.dll Pin
Member 216927318-Feb-09 0:01
Member 216927318-Feb-09 0:01 
AnswerRe: WPF System.Security.Permissions.SecurityPermission winmm.dll [modified] Pin
sivaddrahcir18-Feb-09 13:00
sivaddrahcir18-Feb-09 13:00 
QuestionCreate Role Pin
VisualLive17-Feb-09 22:19
VisualLive17-Feb-09 22:19 
AnswerRe: Create Role Pin
VisualLive18-Feb-09 14:46
VisualLive18-Feb-09 14:46 
QuestionDataContract and ISerializable not friendly Pin
devvvy17-Feb-09 21:02
devvvy17-Feb-09 21:02 
AnswerRe: DataContract and ISerializable not friendly Pin
Pete O'Hanlon17-Feb-09 21:51
mvePete O'Hanlon17-Feb-09 21:51 
GeneralRe: DataContract and ISerializable not friendly Pin
devvvy18-Feb-09 0:59
devvvy18-Feb-09 0:59 
GeneralRe: DataContract and ISerializable not friendly Pin
Pete O'Hanlon18-Feb-09 2:06
mvePete O'Hanlon18-Feb-09 2:06 

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.