Multi-Column ListView

Ever wanted to have a multi column ListView in WPF? It’s not that hard once you get to know WPF.

We take a ListView and set the ItemsPanel to UniformGrid:

<Window x:Class="ColumnTest.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <ListView x:Name="MyList">
                <UniformGrid Columns="3" />
                <Label Content="{Binding}" />


And the backend code:

using System.Windows;

namespace ColumnTest
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
        public MainWindow()

            for (int x = 0; x <= 100; x++)


Which results in:

Uniform Grid Result

4 thoughts on “Multi-Column ListView

  1. Dave

    Nice work!
    very simple way to make multi column list boxes! And it was exactly what i was after!

Comments are closed.