Thank you for contacting Telerik Support.
is an independent control and when you change the RadScrollBarElement.Value
property, it is serialized in the designer as RadHScrollBar Value
. When you make the same thing with the scroll bar inside some control, RadScrollBarElement
is dependent on number of items and in this case we do not serialize scroll bar value in the designer file. That is why the appropriate approach to set RadScrollBarElement
is doing it in the form's constructor:
radPanorama1.PanoramaElement.ScrollBar.Maximum / 2;
I hope this information helps. Should you have further questions, I would be glad to help.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>