Share via


ItemsView.RemainingItemsThreshold Property

Definition

Gets or sets the number of remaining items in the view that trigger the RemainingItemsThresholdReached event.

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

Property Value

The threshold count. Must be -1 or greater. The default is -1 (disabled).

Remarks

When scrolling reaches a point where only this many items remain to be displayed, the RemainingItemsThresholdReached event fires. Set to -1 to disable the threshold behavior. This is commonly used for implementing infinite scroll or incremental loading.

Applies to