C1FlexGrid. Visibility of Vertical Scrollbar

Posted by: lutz.boscher on 12 January 2023, 1:57 am EST

    • Post Options:
    • Link

    Posted 12 January 2023, 1:57 am EST


    I am using C1FlexGrid for .net 4.8. How can I see, if the vertical scrollbar is currently shown.

    Thank you

  • Posted 12 January 2023, 4:48 pm EST


    As we understand, you want to keep track of Vertical ScrollBar visibility.

    In order to achieve this requirement, you need to get ScrollBar from Flexgrid’s template.(see code snippet)

    var verticalScrollbar =grid.Template.FindName("_sbV",grid) as ScrollBar;
    MessageBox.Show("Vertical ScrollBar is : "+verticalScrollbar.Visibility);

    Please refer the attached sample :


    Best Regards,


  • Posted 13 January 2023, 3:46 am EST


    that is, what I am looking for. It works.

    Thank you

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels