And both can be bound to existing dynamic data sources or to hard-coded data that's provided in the XAML itself or the code-behind.īoth controls are flexible to use in a variety of scenarios but, overall, they work best with collections in which all items have the same basic structure and appearance, as well as the same interaction behavior. Both are easy to implement and provide basic UI, interaction, and scrolling while being easily customizable. ListView and GridView controls provide many benefits as you work with collections. We may refer to classes like ListView or ListViewItem, but the List prefix can be replaced with Grid for the corresponding grid equivalent (GridView or GridViewItem). In this article, discussions about list view apply to both the ListView and GridView controls, unless otherwise specified. ![]() ListView and GridView both derive from the ListViewBase class, so they have the same functionality but display data differently.
0 Comments
Leave a Reply. |