The text of this article is not in this database — only its details are. Read it on the old site: WPF ListView Tutorial
18 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: WPF ListView Tutorial
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Rushi MehtaPosted Nov 11, 2018, 10:37 PM
Nice One.. Thanks for sharing
Ammar ShaukatPosted Sep 14, 2017, 6:11 AM
This is a great contribution Sir. Can we have some content on Data Templates and Control Templates too ?
Kaleem Ullah KhanPosted Oct 23, 2015, 7:34 AM
2nd Question how to delete multiple items
Kaleem Ullah KhanPosted Oct 23, 2015, 7:18 AM
how to add multi selection ?
Kaleem Ullah KhanPosted Oct 23, 2015, 7:17 AM
Very Nice Article
Ruvaid AhmedPosted Oct 14, 2015, 4:54 AM
not bad
dk zclinPosted Feb 21, 2013, 4:36 AM
This article is very useful for me.Thanks very much
Mahesh AlleeditedPosted Jan 31, 2013, 12:35 AMEdited Mar 13, 2013, 6:41 AM
Thanks for posting this article
Ramasagar PulidindiPosted Jan 9, 2013, 11:10 AM
i had a xaml form which consists of text boxes check boxes list view and a button now when i click on a button i want to populate the list view from sql .. can u tell me how?
Avinash SinghPosted Oct 20, 2012, 2:48 AM
How to get a values of Checked rows in WPF ListView
ibrahim YILMAZPosted Jan 18, 2012, 3:27 PM
great deal
brahman programadorPosted Dec 6, 2011, 5:45 PM
amgios les escribo para que me ayuden con este problema que tengo estoy desarrollando una aplicaion wpf quiero llenar un listview con imagenes que estan en la base de datos en formato byte hasta el momento hize esto pero me asigna la primera imagen a todos los items del listview for (int i = 0; i < NumRegistros; i++) { LongImg = 500000; byte []Byte2Image = new byte[LongImg]; // aqui siempre tienes que crear una nueva variable listviewArticulos.DataContext= Reader.GetBytes(Reader.GetOrdinal("PathImagen"), 0, Byte2Image, 0, LongImg); listviewArticulos.Items.Add(Byte2Image); }
Anthony VPosted Jan 28, 2011, 8:17 AM
Thanks. Helpful article. I am new to this WPF stuff so wondering about how one would create these controls so that they exist in a different column than the first one? what i want to do is simulate the properties window in Visual Studio, the one that appears when you hit F4 on a control. in that you have two columns. the first column is a label, and the second column contains either text boxes, drop downs, or popups. and there's a faint gridline between the two columns. any help greatly appreciated. Thanks Anthony
Syed ShakeerPosted Dec 29, 2010, 3:01 AM
Hi, Can you tell me how to add a checkBox in LsitView dynamically
Raja SPosted Nov 30, 2010, 7:57 AM
very nice article........
Yudhi PandeyPosted Jun 11, 2010, 7:01 AM
Hi, I've a collection in a list view which is filled by a button click. As soon as it is filled , i have to enable/disable other buttons according to the selection. But the problem is as soon as it is filled, the buttons get enabled without the selection from the list. I have bound the listview IsSelected property to the buttons canExecute . But it doesn't seem to work??? <listviewItemStyle> <Setter Property="IsSelected" Value="{Binding Path=IsSelected, Mode=TwoWay}" /> </listviewItemStyle>
Dang Cong ThanhPosted Apr 9, 2010, 10:44 PM
thanks. If i want to handle click event on Checkbox, what should i do to it ?