This article is currently in the process of being translated into Persian (~21% done).
If you are fluent in Persian, then please help us - just point to any untranslated element inside the article and click the translation button to get started. Or have a look at the current translation status for the Persian language.
If you see a translation that you think looks wrong, then please consult the original article to make sure and then use the vote button to let us know about it.
Please help us by translating the following metadata for the article/chapter, if they are not already translated.
If you are not satisfied with the translation of a specific metadata item, you may vote it down - when it reaches a certain negative threshold, it will be removed. Please only submit an altered translation of a metadata item if you have good reasons to do so!
Introduction to the ListView control
لیست ویو عمدتا در برنامه های مبتنی بر ویندوز جهت نمایش لیستی از داده ها به کار می رود. بهترین مثال آن نیز لیست فایلها در Windows Explorer است، که هر فایل می تواند با نام آن - و اگر خواستید با ستونهایی شامل اطلاعاتی درباره سایز، آخرین تاریخ ویرایش و سایر- نمایش دهید.
ListView in WPF vs. WinForms
If you have previously worked with WinForms, then you have a good idea about how practical the ListView is, but you should be aware that the ListView in WPF isn't used like the WinForms version. Once again the main difference is that while the WinForms ListView simply calls Windows API functions to render a common Windows ListView control, the WPF ListView is an independent control that doesn't rely on the Windows API.
The WPF ListView does use a ListViewItem class for its most basic items, but if you compare it to the WinForms version, you might start looking for properties like ImageIndex, Group and SubItems, but they're not there. The WPF ListView handles stuff like item images, groups and their sub items in a completely different way.
The ListView is a complex control, with lots of possibilities and especially in the WPF version, you get to customize it almost endlessly if you want to. For that reason, we have dedicated an entire category to all the ListView articles here on the site. Click on to the next article to get started.