Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 818 Bytes

itemcontainergenerator_containerfromitem_832238941.md

File metadata and controls

29 lines (20 loc) · 818 Bytes
-api-id -api-type
M:Microsoft.UI.Xaml.Controls.ItemContainerGenerator.ContainerFromItem(System.Object)
winrt method

Microsoft.UI.Xaml.Controls.ItemContainerGenerator.ContainerFromItem

-description

Note

ContainerFromItem may be altered or unavailable for releases after Windows 8.1. Instead, use ItemsControl.ContainerFromItem.

Returns the container corresponding to the specified item.

-parameters

-param item

The item to retrieve the container for.

-returns

A container that corresponds to the specified item, if the item has a container and exists in the collection; otherwise, null.

-remarks

-examples

-see-also