Udostępnij za pośrednictwem


ItemsControl.PrepareContainerForItemOverride(DependencyObject, Object) Method

Definition

Prepares the specified element to display the specified item.

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

Platform::Object

IInspectable

The item to display.

Applies to