Szerkesztés

Megosztás a következőn keresztül:


DataGridCellsPresenter.PrepareContainerForItemOverride Method

Definition

Prepares the cell to display the specified item.

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

The cell to prepare.

item
Object

The item to display.

Remarks

This method prepares the DataGridCell for use and updates the column reference.

Applies to

See also