WPF TOOLKIT FOR TILE LISTVIEW

Goti Bandu

Total Post:119

Points:835
Posted by  Goti Bandu
WPF 
WPF
 2973  View(s)
Ratings:
Rate this:

I need to create tiles of well formatted buttons, something like the Windows 8 start page. Is there any toolkit available for a custom ListView which may support tile view or grid view, with some formatting and may be some animation options.

I tried creating my own custom listview but it seemed to be a complicated task.

  1. Sumit Kesarwani

    Post:378

    Points:2694
    Re: WPF toolkit for tile listview

    Hi Goti,


    You can simply use Item Control, i). In Item Panel just give the number of rows and columns you want ii). If button you want here are to be generated dynamically just assign the list of Buttons to it.

    <ItemsControl x:Name="lstButtons"

                  Grid.Row="0"

                  Grid.Column="1">

      <ItemsControl.ItemsPanel>

        <ItemsPanelTemplate>

          <UniformGrid Columns="4"

                       Rows="4" />

        </ItemsPanelTemplate>

      </ItemsControl.ItemsPanel>

      <ItemsControl.ItemTemplate>

        <DataTemplate>

          <Button  Click="CLICK_EVENT_HERE"

                   Style="Use metro Button Style here" />

        </DataTemplate>

      </ItemsControl.ItemTemplate>

    </ItemsControl>

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!