ListView
ListView is a control that was introduced for Windows Store apps (and is not a part of WPF and Silverlight). You can think of ListView as a “fancy ListBox” optimized for touch and the style of modern Windows apps. Probably the most important difference is the addition of swiping selection behavior (which can be turned off by setting IsSwipeEnabled to false).
Several visual differences are also noticeable compared to ListBox. In a ListView, items animate in initially, items have a shrink-on-press effect, the margins are different, the selection highlight includes a check mark, and so on. Figure 10.6 demonstrates these differences using the same Rectangle elements as items in both. Note that the background of ListView is Transparent
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access