ItemsWrapGrid.FirstVisibleIndex Property

Definition

Gets the index in the data collection of the first item on the screen. Partially visible items are considered to be on screen.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.ItemsWrapGrid.FirstVisibleIndex.

public:
 property int FirstVisibleIndex { int get(); };
int FirstVisibleIndex();
public int FirstVisibleIndex { get; }
var int32 = itemsWrapGrid.firstVisibleIndex;
Public ReadOnly Property FirstVisibleIndex As Integer

Property Value

Int32

The index in the data collection of the first item on the screen. The default is -1.

Applies to