Click here to Skip to main content
15,920,031 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: ListView issues Pin
Eslam Afifi6-Mar-10 8:19
Eslam Afifi6-Mar-10 8:19 
Why bind to the List itself when you can bind to an ObservableCollection and add and remove items to that ObservableCollection manually! and you should make that ObservableCollection of a ViewModel of the actual list items. I think that should work the way you want.
About setting the property to use for the ListView columns, use the DisplayMemberBinding of the GridViewColumn. It works even when adding items manually to the ListView's Items property.
Eslam Afifi

GeneralRe: ListView issues Pin
#realJSOP6-Mar-10 9:35
professional#realJSOP6-Mar-10 9:35 
GeneralRe: ListView issues Pin
Eslam Afifi6-Mar-10 10:51
Eslam Afifi6-Mar-10 10:51 
GeneralRe: ListView issues Pin
Pete O'Hanlon6-Mar-10 11:14
mvePete O'Hanlon6-Mar-10 11:14 
GeneralRe: ListView issues Pin
Eslam Afifi6-Mar-10 12:27
Eslam Afifi6-Mar-10 12:27 
GeneralRe: ListView issues Pin
Pete O'Hanlon6-Mar-10 12:34
mvePete O'Hanlon6-Mar-10 12:34 
GeneralRe: ListView issues Pin
Eslam Afifi6-Mar-10 13:02
Eslam Afifi6-Mar-10 13:02 
GeneralRe: ListView issues Pin
Pete O'Hanlon6-Mar-10 9:41
mvePete O'Hanlon6-Mar-10 9:41 
AnswerRe: ListView issues Pin
Pete O'Hanlon6-Mar-10 10:22
mvePete O'Hanlon6-Mar-10 10:22 
QuestionDisplay System.Windows.Forms.Form as child of Wpf Window Pin
abhinish6-Mar-10 1:01
abhinish6-Mar-10 1:01 
AnswerRe: Display System.Windows.Forms.Form as child of Wpf Window Pin
#realJSOP6-Mar-10 2:17
professional#realJSOP6-Mar-10 2:17 
GeneralRe: Display System.Windows.Forms.Form as child of Wpf Window Pin
abhinish6-Mar-10 5:00
abhinish6-Mar-10 5:00 
GeneralRe: Display System.Windows.Forms.Form as child of Wpf Window Pin
#realJSOP6-Mar-10 5:29
professional#realJSOP6-Mar-10 5:29 
GeneralRe: Display System.Windows.Forms.Form as child of Wpf Window Pin
Valentin Billotte31-May-10 4:51
Valentin Billotte31-May-10 4:51 
QuestionBackgroundWorker and comboBox.Items.Add(f) Pin
HahnTech5-Mar-10 15:35
HahnTech5-Mar-10 15:35 
AnswerRe: BackgroundWorker and comboBox.Items.Add(f) Pin
#realJSOP6-Mar-10 2:18
professional#realJSOP6-Mar-10 2:18 
GeneralRe: BackgroundWorker and comboBox.Items.Add(f) Pin
HahnTech8-Mar-10 12:31
HahnTech8-Mar-10 12:31 
QuestionMessage Removed Pin
5-Mar-10 3:38
professionalN_tro_P5-Mar-10 3:38 
AnswerRe: ResourceDictionaries Pin
Pete O'Hanlon5-Mar-10 4:34
mvePete O'Hanlon5-Mar-10 4:34 
GeneralMessage Removed Pin
5-Mar-10 8:33
professionalN_tro_P5-Mar-10 8:33 
GeneralRe: ResourceDictionaries Pin
Pete O'Hanlon5-Mar-10 9:41
mvePete O'Hanlon5-Mar-10 9:41 
QuestionDatabinding to a property which is a collection. Pin
ddecoy5-Mar-10 2:37
ddecoy5-Mar-10 2:37 
AnswerRe: Databinding to a property which is a collection. Pin
Pete O'Hanlon5-Mar-10 2:58
mvePete O'Hanlon5-Mar-10 2:58 
GeneralRe: Databinding to a property which is a collection. Pin
ddecoy5-Mar-10 3:08
ddecoy5-Mar-10 3:08 
QuestionCreating Custom Control in WPF (.Net 3.5) Pin
Mehdi Ghiasi4-Mar-10 23:13
Mehdi Ghiasi4-Mar-10 23:13 

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.