13 references to CarouselPage
Microsoft.Maui.Controls (5)
CarouselPage\CarouselPage.cs (5)
7
internal class CarouselPage : MultiPage<ContentPage>, IElementConfiguration<
CarouselPage
>
9
readonly Lazy<PlatformConfigurationRegistry<
CarouselPage
>> _platformConfigurationRegistry;
14
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<
CarouselPage
>>(() => new PlatformConfigurationRegistry<
CarouselPage
>(this));
18
public new IPlatformElementConfiguration<T,
CarouselPage
> On<T>() where T : IConfigPlatform
Microsoft.Maui.Controls.Compatibility (8)
iOS\Renderers\CarouselPageRenderer.cs (6)
36
protected
CarouselPage
Carousel
38
get { return (
CarouselPage
)Element; }
292
int index = Carousel.CurrentPage != null ?
CarouselPage
.GetIndex(Carousel.CurrentPage) : 0;
314
foreach (ContentPage child in ((
CarouselPage
)Element).Children)
323
_scrollView.ContentSize = new SizeF(bounds.Width * ((
CarouselPage
)Element).Children.Count, bounds.Height);
386
ScrollToPage(
CarouselPage
.GetIndex(current), animated);
iOS\Renderers\PageRenderer.cs (2)
166
if (Element.Parent is
CarouselPage
)
181
if (Element.Parent is
CarouselPage
)