<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Center" VerticalAlignment="Center">

<!-- Example 5-19. Populating ListView rows -->

<ListView ItemsSource="{x:Static Fonts.SystemFontFamilies}">
  <ListView.View>
    <GridView>
      <GridViewColumn Header="Name"
                      DisplayMemberBinding="{Binding Source}" />

      <GridViewColumn Header="Line Spacing"
                      DisplayMemberBinding="{Binding LineSpacing}" />

      <GridViewColumn Header="Sample">
        <GridViewColumn.CellTemplate>
          <DataTemplate>
            <TextBlock FontFamily="{Binding}" FontSize="20"
                       Text="ABCDEFGabcdefg" />
          </DataTemplate>
        </GridViewColumn.CellTemplate>
      </GridViewColumn>
    </GridView>
  </ListView.View>
</ListView>

<!-- End of Example 5-19. -->

</Page>