Skip to main content

RemoveAt Method

Removes the item at the specified index of the collection or view.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public void RemoveAt(
int index
)

Parameters

  Int32
The zero-based index of the item to remove.

Exceptions

InvalidOperationExceptionThe collection is in ItemsSource mode.

See Also

Reference

ItemCollection Class
Avalonia.Controls Namespace