Is Scrollbar Active

2 posts, 0 answers
  1. Rabeeh
    Rabeeh  avatar
    62 posts
    Member since:
    Sep 2007

    Posted 22 Jul 2011 Link to this post

    How to know if the vertical scrollbar is active in RichTextbox, after it is populated. Given that the RichTextBox Vertical Scrollbar is set to Auto, and the horizontal is disable.
  2. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 27 Jul 2011 Link to this post

    Hi Rabeeh ,

    You can check if the scrollbar has appeared in the following way:

    if (this.editor.VerticalScrollBar.Visibility == Visibility.Visible)
    {
        //Do something
    }
    All the best,
    Iva
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft banner
Back to Top