DataGrid.ScrollIntoView(Object, DataGridColumn) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Scrolls the specified item or RowGroupHeader and/or column into view. If item is not null: scrolls the row representing the item into view; If column is not null: scrolls the column into view; If both item and column are null, the method returns without scrolling.
public void ScrollIntoView (object item, Microsoft.Toolkit.Uwp.UI.Controls.DataGridColumn column);
member this.ScrollIntoView : obj * Microsoft.Toolkit.Uwp.UI.Controls.DataGridColumn -> unit
Public Sub ScrollIntoView (item As Object, column As DataGridColumn)
Parameters
- item
- Object
an item from the DataGrid's items source or a CollectionViewGroup from the collection view
- column
- DataGridColumn
a column from the DataGrid's columns collection