Completed
Last Updated: 13 Nov 2024 16:25 by ADMIN
Release 8.0.0 (2024 Q4)
alfonso
Created on: 12 Aug 2024 08:07
Category: CollectionView
Type: Feature Request
2
CollectionView: Provide a way to control the scrollbars' visibility
Currently there isn't a direct way to hide the scrollbars in the CollectionView.
2 comments
ADMIN
Didi
Posted on: 13 Nov 2024 16:25

Hi,

Review the following link how to manage the scrollbar visibility: https://docs.telerik.com/devtools/maui/controls/collectionview/scrolling#scrollbars 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

ADMIN
Didi
Posted on: 18 Sep 2024 08:24

Hello,

In the meantime, you can use the following workaround -  access the inner ScrollView from the CollectionView's Children collection and set the needed properties, here is an example:

 this.collectionView.Loaded += CollectionView_Loaded;

and add the event handler:

private void CollectionView_Loaded(object sender, System.EventArgs e)
{
    foreach(var child in (sender as RadCollectionView).Children)
    {
        if(child is ScrollView)
        {
            ScrollView sv = child as ScrollView;
            sv.VerticalScrollBarVisibility = Microsoft.Maui.ScrollBarVisibility.Never;
            return;
        }
    }
}

Regards,
Didi
Progress Telerik