ListView.PrepareContainerForItemOverride(DependencyObject, Object) Method

Definition

Establece los estilos, plantillas y enlaces de ListViewItem.Sets the styles, templates, and bindings for a ListViewItem.

protected:
 override void PrepareContainerForItemOverride(System::Windows::DependencyObject ^ element, System::Object ^ item);
protected override void PrepareContainerForItemOverride (System.Windows.DependencyObject element, object item);
override this.PrepareContainerForItemOverride : System.Windows.DependencyObject * obj -> unit
Protected Overrides Sub PrepareContainerForItemOverride (element As DependencyObject, item As Object)

Parameters

element
DependencyObject

Objeto que es ListViewItem o que puede convertirse en tal.An object that is a ListViewItem or that can be converted into one.

item
Object

Objeto que se va a utilizar para crear el ListViewItem.The object to use to create the ListViewItem.

Remarks

Este método prepara un control de ListViewItem para la presentación de acuerdo con el Viewespecificado.This method prepares a ListViewItem control for display according to the specified View.

Applies to