Share via


VirtualizingLayoutContext.ItemCount Property

Definition

Gets the number of items in the data.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property int ItemCount { int get(); };
int ItemCount();
public int ItemCount { get; }
Public ReadOnly Property ItemCount As Integer

Property Value

Int32

int

The number of items in the data.

Remarks

This property gets the value returned by ItemCountCore, which must be implemented in a derived class.

Applies to