ListViewBase.ScrollIntoView(Object) method

0 out of 1 rated this helpful - Rate this topic

Scrolls the list to bring the specified data item into view.

Syntax


public void ScrollIntoView(
  object item
)

Parameters

item

Type: System.Object [.NET] | Platform::Object [C++]

The data item to bring into view.

Remarks

You use the ScrollIntoView method to bring an item into view when the ListViewBase control is not used as a view in a SemanticZoom control. To bring an item into view when the ListViewBase control is used in a SemanticZoom, use the MakeVisible method instead.

When the contents of the ItemsSource collection changes, particularly if many items are added to or removed from the collection, you might need to call UpdateLayout prior to calling ScrollIntoView for the specified item to scroll into the viewport.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

ListViewBase
ScrollIntoView(Object, ScrollIntoViewAlignment)
MakeVisible

 

 

Build date: 3/12/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.