ContainerFromItem Method
Returns the container corresponding to the specified item.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public Control? ContainerFromItem(
Object item
)
Public Function ContainerFromItem (
item As Object
) As Control
member ContainerFromItem :
item : Object -> Control
Parameters
- Object
- The item to retrieve the container for.
Return Value
Control
A container that corresponds to the specified item, if the item has a container and exists in the collection; otherwise, null.