Published
Dec 27, 2024
1y ago
Total Downloads
5.9K
5,916
Install
dotnet add package Fabulous.Avalonia.ItemsRepeater --version 3.0.0-pre8
| Product | Versions |
|---|---|
| .NET |
README
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.ItemsRepeaterpackage to your project. - Open
Fabulous.Avaloniaat 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.
Changes from Previous Version
No structural changes between v3.0.0-pre7 and v3.0.0-pre8.
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.