Skip to main content

PrepareContainerForItemOverride Method

Prepares the specified element to display the specified item.

Definition

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

protected virtual void PrepareContainerForItemOverride(
Control container,
Object? item,
int index
)

Parameters

  Control
The element that's used to display the specified item.
  Object
The item to display.
  Int32
The index of the item to display.

See Also

Reference

ItemsControl Class
Avalonia.Controls Namespace