It is necessary to make scrolling ListBox to the bottom. I do when initializing the window:
lbMsg.SelectedItem = lbMsg.Items.Count - 1;
But nothing happens.
Try this:
lbMsb.ScrollIntoView(lbMsg.Items[lbMsg.Items.Count - 1]);
Source: https://ru.stackoverflow.com/questions/713088/More articles:Copying files from one folder to another via a web applicationHow to make an object that goes beyond the boundaries of the body did not create a side scroll on the mobileAngularJS ng-if interaction with TwigDifference between control inversion and dependency injectionHow to deploy Yii2 advanced project on openserver / nginx?Timer js inside the loopRemoving links with a regular expressionHow to implement a permanent stay in the personal account of the android-application?Google map, programmatically exit fullscreenWhat are dependencies in Django?All Articles