RadSlideView : MaxVisibleItems Not Accessible

1 Answer 11 Views
SlideView
Calin
Top achievements
Rank 1
Calin asked on 26 Mar 2024, 09:31 PM

I have a scenario where I have a large amount of items in my RadSlideView and want to limit the amount of visible indicators. I noticed that there is supposed to be a property called MaxVisibleItems (from the documentation) that I could use to limit the maximum visibile indicators, but when I try to set it in XAML it is not recognized or not accessible.

I'm using the latest version of Telerik.UI.for.Maui (6.8.0) from the telerik nuget feed.

Referenced Documentation: https://docs.telerik.com/devtools/maui/controls/slideview/indicators

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 29 Mar 2024, 11:47 AM

Hello Calin,

MaxVisibleItems is a property of SlideViewIndicator which is part of the RadSlideView's ControlTemplate. Therefore, the RadSlideView doesn't have such property, but you can assign it to the SlideViewIndicator via the IndicatorStyle property. For example:

 <telerik:RadSlideView.IndicatorStyle>
     <Style TargetType="telerik:SlideViewIndicator">
         <Setter Property="MaxVisibleItems" Value="3" />
     </Style>
 </telerik:RadSlideView.IndicatorStyle>

I hope that helps.

Regards,
Martin Ivanov
Progress Telerik

A brand new ThemeBuilder course was just added to the Virtual Classroom. The training course was designed to help you get started with ThemeBuilder for styling Telerik and Kendo UI components for your applications. You can check it out at https://learn.telerik.com
Tags
SlideView
Asked by
Calin
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or