WrapPanel.UWP 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package WrapPanel.UWP --version 1.0.0                
NuGet\Install-Package WrapPanel.UWP -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WrapPanel.UWP" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WrapPanel.UWP --version 1.0.0                
#r "nuget: WrapPanel.UWP, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WrapPanel.UWP as a Cake Addin
#addin nuget:?package=WrapPanel.UWP&version=1.0.0

// Install WrapPanel.UWP as a Cake Tool
#tool nuget:?package=WrapPanel.UWP&version=1.0.0                

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>

Below, a screenshot of the WrapPanel in action where all children are sorted by size.

wrappanel example

Product Compatible and additional computed target framework versions.
Universal Windows Platform uap was computed.  uap10.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.1 773 7/1/2019
1.0.0 550 6/7/2019

Initial release.