ContainerFromIndex Method
Returns the container for the item at the specified index.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public Control? ContainerFromIndex(
int index
)
Public Function ContainerFromIndex (
index As Integer
) As Control
member ContainerFromIndex :
index : int -> Control
Parameters
- Int32
- The index of the item to retrieve.
Return Value
Control
The container for the item at the specified index within the item collection, if the item has a container; otherwise, null.