Click here to Skip to main content
15,887,365 members
Home / Discussions / WPF
   

WPF

 
QuestionProblem with WPF and removing a row from a datagrid Pin
Member 297299224-Jun-11 10:05
Member 297299224-Jun-11 10:05 
QuestionSearching for a common base class for StackPanel and Control Pin
cethie23-Jun-11 22:15
cethie23-Jun-11 22:15 
AnswerRe: Searching for a common base class for StackPanel and Control Pin
Pete O'Hanlon23-Jun-11 22:51
mvePete O'Hanlon23-Jun-11 22:51 
AnswerRe: Searching for a common base class for StackPanel and Control Pin
Abhinav S23-Jun-11 23:44
Abhinav S23-Jun-11 23:44 
AnswerRe: Searching for a common base class for StackPanel and Control Pin
Mark Salsbery24-Jun-11 5:58
Mark Salsbery24-Jun-11 5:58 
QuestionWPF MVVM ListBox Basics Pin
Member 450279423-Jun-11 2:13
Member 450279423-Jun-11 2:13 
AnswerRe: WPF MVVM ListBox Basics Pin
SledgeHammer0123-Jun-11 9:55
SledgeHammer0123-Jun-11 9:55 
GeneralRe: WPF MVVM ListBox Basics Pin
Member 450279424-Jun-11 1:36
Member 450279424-Jun-11 1:36 
Hi thanks for your reply

Yes my post is too long and I did read the posting guidelines before posting but how are good people like you supposed to help without all of the information?

Yes I can make the listbox look and function as I would expect a listbox to function with this.

<ListBox
ItemsSource="{Binding Path=AvailablePitchbookChartFamily}"
DisplayMemberPath="DisplayName"
>
</ListBox>


The issue is that the type OptionViewModel implements INotifyPropertyChanged. A collection of this type is bound to my Listbox. However the act of changing a selected item does not fire the PropertyChanged event and therefore doesn't update the underlying business object being modelled. I've been trying to structure the listbox in a way that it looks just like a listbox but the PropertyChanged event does fire when a listbox item is selected/deselected. My lack of WPF knowledge is currently stopping me from achieving this.

Anyway I'll keep improving my knowledge. I think I'll end up doing something with the IObservable interface.

Thanks for your help
GeneralRe: WPF MVVM ListBox Basics Pin
SledgeHammer0124-Jun-11 4:59
SledgeHammer0124-Jun-11 4:59 
QuestionMVVM: TreeViewItem double click -> command? Pin
SledgeHammer0122-Jun-11 12:44
SledgeHammer0122-Jun-11 12:44 
AnswerRe: MVVM: TreeViewItem double click -> command? Pin
Pete O'Hanlon22-Jun-11 17:24
mvePete O'Hanlon22-Jun-11 17:24 
GeneralRe: MVVM: TreeViewItem double click -> command? Pin
SledgeHammer0122-Jun-11 17:38
SledgeHammer0122-Jun-11 17:38 
GeneralRe: MVVM: TreeViewItem double click -> command? Pin
Pete O'Hanlon22-Jun-11 21:09
mvePete O'Hanlon22-Jun-11 21:09 
GeneralRe: MVVM: TreeViewItem double click -> command? Pin
SledgeHammer0123-Jun-11 6:49
SledgeHammer0123-Jun-11 6:49 
GeneralRe: MVVM: TreeViewItem double click -> command? Pin
SledgeHammer0123-Jun-11 6:57
SledgeHammer0123-Jun-11 6:57 
GeneralRe: MVVM: TreeViewItem double click -> command? Pin
Pete O'Hanlon23-Jun-11 7:01
mvePete O'Hanlon23-Jun-11 7:01 
GeneralRe: MVVM: TreeViewItem double click -> command? Pin
SledgeHammer0123-Jun-11 7:13
SledgeHammer0123-Jun-11 7:13 
GeneralRe: MVVM: TreeViewItem double click -> command? Pin
Pete O'Hanlon23-Jun-11 7:14
mvePete O'Hanlon23-Jun-11 7:14 
GeneralRe: MVVM: TreeViewItem double click -> command? Pin
Mycroft Holmes23-Jun-11 12:04
professionalMycroft Holmes23-Jun-11 12:04 
GeneralRe: MVVM: TreeViewItem double click -> command? Pin
SledgeHammer0123-Jun-11 12:50
SledgeHammer0123-Jun-11 12:50 
GeneralRe: MVVM: TreeViewItem double click -> command? Pin
Mycroft Holmes23-Jun-11 14:47
professionalMycroft Holmes23-Jun-11 14:47 
GeneralRe: MVVM: TreeViewItem double click -> command? Pin
Pete O'Hanlon23-Jun-11 20:20
mvePete O'Hanlon23-Jun-11 20:20 
GeneralRe: MVVM: TreeViewItem double click -> command? Pin
Pete O'Hanlon23-Jun-11 20:19
mvePete O'Hanlon23-Jun-11 20:19 
Questionusing navigation pages in wpf Pin
zooom_921-Jun-11 19:12
zooom_921-Jun-11 19:12 
AnswerRe: using navigation pages in wpf Pin
Pete O'Hanlon21-Jun-11 21:28
mvePete O'Hanlon21-Jun-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.