From cc0984c378044fe0c2db33e5a3d030f342da2efa Mon Sep 17 00:00:00 2001 From: Oleksandr Liakhevych Date: Mon, 28 Nov 2022 01:30:40 +0200 Subject: [PATCH] Add IndicatorView control (#89) --- .../Views/Collections/CarouselViewPage.razor | 10 +- .../Elements/CarouselView.cs | 39 +++++ .../Elements/IndicatorView.generated.cs | 140 ++++++++++++++++++ .../Properties/AttributeInfo.cs | 3 + .../BlazorBindings.UnitTests.csproj | 3 +- .../Elements/CarouselViewTests.razor | 23 +++ .../Elements/ElementTestBase.razor | 9 -- 7 files changed, 215 insertions(+), 12 deletions(-) create mode 100644 src/BlazorBindings.Maui/Elements/CarouselView.cs create mode 100644 src/BlazorBindings.Maui/Elements/IndicatorView.generated.cs create mode 100644 src/BlazorBindings.UnitTests/Elements/CarouselViewTests.razor diff --git a/samples/ControlGallery/Views/Collections/CarouselViewPage.razor b/samples/ControlGallery/Views/Collections/CarouselViewPage.razor index a5c6c90a..98ada903 100644 --- a/samples/ControlGallery/Views/Collections/CarouselViewPage.razor +++ b/samples/ControlGallery/Views/Collections/CarouselViewPage.razor @@ -6,8 +6,9 @@ + IndicatorView="() => indicatorView" + @bind-CurrentItem="currentItem" + @bind-Position="currentPosition"> + +