.net - Silverlight ScrollViewer or HorizontalScrollBar -


I have the ScrollViewer and the child stack panel. When I add content, I need my horizontal scrollbar. how to do this? Items dynamically added to the stack panel item I am trying to use this. ScrollViewer.ScrollToRight (); But this is not always a scrolling.

"myScroll" is the name of the scroll viewer.

  myScroll.ScrollToHorizontalOffset (myScroll.ExtentWidth);  

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -