Automatically scroll in the Silverlight list box

How to force a silverlight list box to scroll to the bottom programmatically so that the item added last is always visible.

I have tried just to select the item .It is finally selected but still invisible unless you manually scroll to it.

Use ListBox’s ScrollIntoView The method passes the last item. You may need to call UpdateLayout immediately to make it work.

How to force a silverlight list box to scroll to the bottom programmatically so that the last added item is always visible.

I have tried just selecting the item. It is finally selected but still not visible unless you manually scroll to it.

Leave a Comment

Your email address will not be published.