ItemsControlContainerFromItem Method
Returns the container corresponding to the specified item.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public Control? ContainerFromItem(
Object item
)
Public Function ContainerFromItem (
item As Object
) As Control
member ContainerFromItem :
item : Object -> Control
- item Object
- The item to retrieve the container for.
Control
A container that corresponds to the specified item, if the item has a container and
exists in the collection; otherwise, null.