Fabulous.Avalonia.ItemsRepeater
2.0.0
See the version list below for details.
dotnet add package Fabulous.Avalonia.ItemsRepeater --version 2.0.0
NuGet\Install-Package Fabulous.Avalonia.ItemsRepeater -Version 2.0.0
<PackageReference Include="Fabulous.Avalonia.ItemsRepeater" Version="2.0.0" />
paket add Fabulous.Avalonia.ItemsRepeater --version 2.0.0
#r "nuget: Fabulous.Avalonia.ItemsRepeater, 2.0.0"
// Install Fabulous.Avalonia.ItemsRepeater as a Cake Addin #addin nuget:?package=Fabulous.Avalonia.ItemsRepeater&version=2.0.0 // Install Fabulous.Avalonia.ItemsRepeater as a Cake Tool #tool nuget:?package=Fabulous.Avalonia.ItemsRepeater&version=2.0.0
ItemsRepeater for Fabulous.Avalonia
The ItemsRepeater control is a cross-platform view for presenting lists of data. It is a container control that can host multiple items and provides layout management for items. See the Avalonia documentation for more information.
How to use
- Add the
Fabulous.Avalonia.ItemsRepeater
package to your project. - Open
Fabulous.Avalonia
at the top of the file where you declare your Fabulous program (eg. Program.stateful).
open Fabulous.Aavalonia
open type Fabulous.Avalonia.View
Using the ItemsRepeater
Widget
Now you can use the ItemsRepeater
widget in your Fabulous app as follows:
ItemsRepeater(["Item 1"; "Item 2"; "Item 3"], fun x -> TextBlock(x))
A full, working example is included in the ItemsRepeaterPage sample
Other useful links:
Additionally, we have the Fabulous Discord server where you can ask any of your Fabulous related questions.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- Avalonia.Controls.ItemsRepeater (>= 11.0.6)
- Fabulous.Avalonia (>= 2.0.0)
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 |
---|---|---|
3.0.0-pre6 | 101 | 5/20/2024 |
3.0.0-pre5 | 110 | 5/17/2024 |
3.0.0-pre4 | 90 | 4/19/2024 |
3.0.0-pre3 | 110 | 4/13/2024 |
3.0.0-pre2 | 100 | 3/31/2024 |
3.0.0-pre1 | 94 | 3/23/2024 |
2.4.0-pre1 | 110 | 2/9/2024 |
2.3.0 | 180 | 1/17/2024 |
2.2.0 | 120 | 1/9/2024 |
2.1.0 | 138 | 1/8/2024 |
2.0.0 | 145 | 1/1/2024 |
2.0.0-pre18 | 145 | 12/7/2023 |
2.0.0-pre17 | 135 | 11/12/2023 |
### Changed
- Update widgets constructors modifiers to match AvaloniaUI API