width - C# Get total inside area of scrollable panel -


should nice easy 1 someone...

i have panel dynamically adding child controls to, point scroll bars appear when of them placed outside of visible area.

i need know total size of area. i.e. how wide scrollable area is?

i furthest placed control , use left + width properties, there must cleaner way?

edit: illustrates need (scrollable area width). enter image description here

try this

systeminformation.verticalscrollbararrowwidth 

see http://msdn.microsoft.com/en-us/library/system.windows.forms.systeminformation.verticalscrollbarwidth.aspx


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -