ItemsControl.GetContainerForItemOverride Method

Definition

Creates or identifies the element that is used to display the given item.

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.ItemsControl.GetContainerForItemOverride.

protected:
 virtual DependencyObject ^ GetContainerForItemOverride() = GetContainerForItemOverride;
DependencyObject GetContainerForItemOverride();
protected virtual DependencyObject GetContainerForItemOverride();
function getContainerForItemOverride()
Protected Overridable Function GetContainerForItemOverride () As DependencyObject

Returns

DependencyObject

The element that is used to display the given item.

Applies to