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

Is Scrollbar Active

1 Answer 46 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Rabeeh
Top achievements
Rank 2
Rabeeh asked on 22 Jul 2011, 07:50 PM
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.

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 27 Jul 2011, 04:59 PM
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!

Tags
RichTextBox
Asked by
Rabeeh
Top achievements
Rank 2
Answers by
Iva Toteva
Telerik team
Share this question
or