WrapPanel.UWP 1.1.1

A control that can be used to present a collection of items in wrapped layout.

Install-Package WrapPanel.UWP -Version 1.1.1
dotnet add package WrapPanel.UWP --version 1.1.1
<PackageReference Include="WrapPanel.UWP" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WrapPanel.UWP --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Welcome to the WrapPanel repository

Info

As the VariableSizedWrapGrid and ItemsWrapGrid both take either user defined sizes or take the size of the first child it isn't easy to display a collection of items with various sizes.
The WrapPanel control is created to support these circumstances.

The repository contains two directories:

  • WrapPanel, containing the source of the WrapPanel itself;
  • WrapPanel.Example, containing an example application demonstrating the use of the WrapPanel.

Quick-Start

In your xaml page add the following namespace:

xmlns:wp="using:WrapPanel"

After, you can start using the WrapPanel:

<wp:WrapPanel ItemsSource="{x:Bind Blocks, Mode=OneWay}">
  <wp:WrapPanel.ItemTemplate>
    <DataTemplate x:DataType="local:Block">
      <Border Background="Black" Width="100" Height="100" Margin="10" />
    </DataTemplate>
  </wp:WrapPanel.ItemTemplate>
</wp:WrapPanel>

Welcome to the WrapPanel repository

Info

As the VariableSizedWrapGrid and ItemsWrapGrid both take either user defined sizes or take the size of the first child it isn't easy to display a collection of items with various sizes.
The WrapPanel control is created to support these circumstances.

The repository contains two directories:

  • WrapPanel, containing the source of the WrapPanel itself;
  • WrapPanel.Example, containing an example application demonstrating the use of the WrapPanel.

Quick-Start

In your xaml page add the following namespace:

xmlns:wp="using:WrapPanel"

After, you can start using the WrapPanel:

<wp:WrapPanel ItemsSource="{x:Bind Blocks, Mode=OneWay}">
  <wp:WrapPanel.ItemTemplate>
    <DataTemplate x:DataType="local:Block">
      <Border Background="Black" Width="100" Height="100" Margin="10" />
    </DataTemplate>
  </wp:WrapPanel.ItemTemplate>
</wp:WrapPanel>

Release Notes

WrapPanel now supports any generic IEnumerable collection and properly handles a collection reset.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.1 67 7/1/2019
1.0.0 83 6/7/2019