O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Richer ScrollIntoView

ListView has two overloads of ScrollIntoView: the one-parameter version that matches ListBox’s version, and one that accepts an extra ScrollIntoViewAlignment enumeration parameter. This provides two options:

Image Default—The control scrolls the minimal distance necessary to put the item entirely on the screen. Therefore, if the item is already on the screen, the control won’t scroll at all. This provides the same behavior as the simpler overload and the same behavior as ListBox.

Image Leading—The control scrolls as much as necessary ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required