ItemsControl.PrepareContainerForItemOverride(DependencyObject, Object) Method

Definition

Prepares the specified element to display the specified item.

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

protected:
 virtual void PrepareContainerForItemOverride(DependencyObject ^ element, Platform::Object ^ item) = PrepareContainerForItemOverride;
void PrepareContainerForItemOverride(DependencyObject const & element, IInspectable const & item);
protected virtual void PrepareContainerForItemOverride(DependencyObject element, object item);
function prepareContainerForItemOverride(element, item)
Protected Overridable Sub PrepareContainerForItemOverride (element As DependencyObject, item As Object)

Parameters

element
DependencyObject

The element that's used to display the specified item.

item
Object

The item to display.

Applies to