TileListView is a type of listview control that can be used to display tiles in a mosaic manner. It lets the user represent a small amount of data in shapes of tiles so that the end-user to smoothly scroll left or right.
The TileListView lets you display the list of items in columns determined by the size of the items. TileListView is the right option to achieving easy Modern Style UI for your WPF applications.
Create a new WPF project.
Add references to the C1.WPF.ListView assembly.
Add TileListView as given in the following code snippet:
XAML |
Copy Code
|
---|---|
<c1:C1TileListView x:Name="tileListView" ShowSelectAll="True" SelectionMode="Extended" ItemTemplate="{StaticResource HealthCheckTemplate}" ItemHeight="164" ItemWidth="180"> </c1:C1TileListView> |
Add items to the TileListView using the ItemTemplate property, which applies a template to all the items of the list.
As you can observe from the code snippet, a StackPanel is added to each TileListView item, in which you can add an image and a text block. In this manner, the TileListView control gives the user full control of the image and text rendering.