Redigera

Dela via


DataGridCellsPanel.BringIndexIntoView(Int32) Method

Definition

Scrolls the viewport to the item at the specified index.

protected public:
 override void BringIndexIntoView(int index);
protected internal override void BringIndexIntoView (int index);
override this.BringIndexIntoView : int -> unit
Protected Friend Overrides Sub BringIndexIntoView (index As Integer)

Parameters

index
Int32

The index of the item that should become visible.

Exceptions

The index is out of range.

Notes to Inheritors

When overriding BringIndexIntoView(Int32) in a derived class, make sure that you call the base class' BringIndexIntoView(Int32) method; otherwise, important functionality will be disabled.

Applies to