DataGrid.ScrollIntoView DataGrid.ScrollIntoView DataGrid.ScrollIntoView DataGrid.ScrollIntoView Method

Definition

Scrolls the DataGrid vertically and horizontally to display the specified item.

Overloads

ScrollIntoView(Object) ScrollIntoView(Object) ScrollIntoView(Object) ScrollIntoView(Object)

Scrolls the DataGrid vertically to display the row for the specified data item.

ScrollIntoView(Object, DataGridColumn) ScrollIntoView(Object, DataGridColumn) ScrollIntoView(Object, DataGridColumn) ScrollIntoView(Object, DataGridColumn)

Scrolls the DataGrid vertically and horizontally to display a cell for the specified data item and column.

ScrollIntoView(Object) ScrollIntoView(Object) ScrollIntoView(Object) ScrollIntoView(Object)

Scrolls the DataGrid vertically to display the row for the specified data item.

public:
 void ScrollIntoView(System::Object ^ item);
public void ScrollIntoView (object item);
member this.ScrollIntoView : obj -> unit
Public Sub ScrollIntoView (item As Object)

Parameters

item
Object Object Object Object

The data item to bring into view.

Exceptions

ScrollIntoView(Object, DataGridColumn) ScrollIntoView(Object, DataGridColumn) ScrollIntoView(Object, DataGridColumn) ScrollIntoView(Object, DataGridColumn)

Scrolls the DataGrid vertically and horizontally to display a cell for the specified data item and column.

public:
 void ScrollIntoView(System::Object ^ item, System::Windows::Controls::DataGridColumn ^ column);
public void ScrollIntoView (object item, System.Windows.Controls.DataGridColumn column);
member this.ScrollIntoView : obj * System.Windows.Controls.DataGridColumn -> unit
Public Sub ScrollIntoView (item As Object, column As DataGridColumn)

Parameters

item
Object Object Object Object

The data item to bring into view.

column
DataGridColumn DataGridColumn DataGridColumn DataGridColumn

The column to bring into view.

Remarks

If column is null, only a vertical scroll is performed. If item is null, only a horizontal scroll is performed.

Applies to