This is a migrated thread and some comments may be shown as answers.
ListView Scroll Bars ... Determine when visiblility changes.
1 Answer 11 Views
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 2
Mark asked on 03 Nov 2017, 03:12 PM

I am looking for an event to tell me when the scroll bars visibility changes, if it exists.

 

TIA

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 06 Nov 2017, 01:47 PM
Hello Mark,

You can use the RadPropertyChanged event:
public RadForm1()
{
    InitializeComponent();
     
    radListView1.ListViewElement.ViewElement.VScrollBar.RadPropertyChanged += VScrollBar_RadPropertyChanged;
}
 
private void VScrollBar_RadPropertyChanged(object sender, Telerik.WinControls.RadPropertyChangedEventArgs e)
{
    if (e.Property.Name == "Visibility")
    {
        Console.WriteLine(e.NewValue);
    }
}

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.
Asked by
Mark
Top achievements
Rank 2
Answers by
Dimitar
Telerik team
Share this question
or