Articles in this section
Category / Section

How to Scale the Carousel Items in .NET MAUI Carousel?

2 mins read

This section illustrates how to scale the items within .NET MAUI Carousel. This can be achieved using the ScaleOffset property, which allows us to apply a scaling ratio to differentiate unselected items.

XAML

   <ContentPage.Content>
       <carousel:SfCarousel  ItemsSource="{Binding ImageCollection}"
                             ScaleOffset="1"/>
   </ContentPage.Content>

C#

 SfCarousel carousel = new SfCarousel() 
 {     
     ScaleOffset = 1,     
 };
 
carousel.SetBinding(SfCarousel.ItemsSourceProperty, "ImageCollection");

Output

AndroidEmulator-pixel_5_-_api_34_55542024-03-1512-00-56-ezgif.com-video-to-gif-converter.gif

Conclusion
I hope you enjoyed learning how to scale the carousel items in .NET MAUI Carousel.

You can refer to our .NET MAUI Carousel feature tour page to learn about its other groundbreaking feature representations. Explore our .NET MAUI Carousel documentation to understand how to present and manipulate data.

For current customers, check out our .NET MAUI components on the License and Downloads page. If you are new to Syncfusion®, try our 30-day free trial to explore our .NET MAUI Carousel and other .NET MAUI components.

Please let us know in the comments section if you have any queries or require clarification. You can also contact us through our support forums, Direct-Trac, or feedback portal, or the feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied