Dela via


ItemsStackPanel.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.

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

Property Value

Int32

int

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

Applies to