Share via


ItemsViewScrolledEventArgs.CenterItemIndex Property

Definition

Gets or sets the index of the item at the center of the view.

public:
 property int CenterItemIndex { int get(); void set(int value); };
public int CenterItemIndex { get; set; }
member this.CenterItemIndex : int with get, set
Public Property CenterItemIndex As Integer

Property Value

The zero-based index of the item closest to the center of the visible area.

Applies to