Iciclecreek.Avalonia.Controls 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Iciclecreek.Avalonia.Controls --version 1.0.0                
NuGet\Install-Package Iciclecreek.Avalonia.Controls -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="Iciclecreek.Avalonia.Controls" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Iciclecreek.Avalonia.Controls --version 1.0.0                
#r "nuget: Iciclecreek.Avalonia.Controls, 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 Iciclecreek.Avalonia.Controls as a Cake Addin
#addin nuget:?package=Iciclecreek.Avalonia.Controls&version=1.0.0

// Install Iciclecreek.Avalonia.Controls as a Cake Tool
#tool nuget:?package=Iciclecreek.Avalonia.Controls&version=1.0.0                

Icon

Iciclecreek.Avalonia.Controls

This is a package of UI controls for Avalonia UI.

Installation

Add the Iciclecreek.Avalonia.Controls package to your project

Update your xmlns

	xmlns:ice="using:Iciclecreek.Avalonia.Controls"

ColumnsPanel Control

The ColumnsPanel control is a panel which dynamically lays out its children in left-to right order into fixed width columns. Columns will be added or removed to fill the horizontal space of the control. If there is not enough space for MinColumns then the item wills be scaled down to fit proportionally. ColumnsPanel

Usage

<ice:ColumnsPanel ColumnWidth="100">
	<TextBlock Text="Column 1" />
	<TextBlock Text="Column 2" />
	<TextBlock Text="Column 3" />
    ...
</ice:ColumnsPanel>

Example of a columns panel in a items control

<ItemsControl Items="{Binding Items}">
	<ItemsControl.ItemsPanel>
		<ItemsPanelTemplate>
			<ice:ColumnsPanel ColumnWidth="300" />
		</ItemsPanelTemplate>
	</ItemsControl.ItemsPanel>
	<ItemsControl.ItemTemplate>
		<DataTemplate>
			<Image Source="{Binding Source}" />
		</DataTemplate>
	</ItemsControl.ItemTemplate>
</ItemsControl>

Properties

Property Default Description
ColumnWidth 300 The width of each column.
MinColumns 1 The minimum number of columns. If ColumnWidth*MinColumns is not possible the column width will scale to fit.
MaxColumns Int.MaxValue The maximum number of columns.
Gap 0 The vertical gap between each item in a column
ColumnGap 0 The horizontal gap between each column
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
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
2.0.0 242 11/30/2023
1.0.0 144 11/19/2023