c#: How do I determine if the ScrollBar for a Scrollable control is currently displayed? -


Is there a way to check that the scrollbar is currently displayed or not for control? I want to use it so that how can I determine the size of children in the control of scrollable, which depends to a certain degree whether the scrollbar is displayed or not (scrollable control can be dynamically resized) .

Try the horizontal scroll and verticalscroll visual properties for control with the autosave property:

  // Checks horizontal scrollbar visibility. YourScrollableControl.HorizontalScroll.Visible; // horizontal scrollbar visibility checks yourScrollableControl.VerticalScroll.Visible;  

Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -