This is a migrated thread and some comments may be shown as answers.

RadListControl - Hide Vertical Scrollbar

1 Answer 23 Views
ListControl
This is a migrated thread and some comments may be shown as answers.
Luc
Top achievements
Rank 1
Luc asked on 11 Jul 2018, 04:49 PM

Hello, I'm using a RadListControl on a touchscreen and the EnableKineticScrolling = True so the user can scroll by touch.   I couldn't find a way to remove/hide the vertical scrollbar of the control.  How can I do that?

Using Telerik for Winforms 2013.3.1328.40.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 12 Jul 2018, 07:15 AM
Hi Luc,

You can use the following code to hide the ScrollBar:
protected override void OnLoad(EventArgs e)
{
    base.OnLoad(e);
    radListControl1.ListElement.VScrollBar.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
}

This should be done after the control is initialized and the data is loaded.

I hope this will be useful. Let me know if you have additional questions.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ListControl
Asked by
Luc
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or