GetItemCount(ItemsControl) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the item count from an ItemsControl.

public static int GetItemCount(this ItemsControl itemsControl)

Parameters

itemsControl
Avalonia.Controls.ItemsControl

The items control.

Returns

Int32
The number of items.