static void OnIsSelectedItemScrolledIntoViewChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) { var scrollingBehaviour = new SelectedListBoxItemScrollingBehaviour(dependencyObject, e); scrollingBehaviour.Update(); }