DataGridCellsPresenter.PrepareContainerForItemOverride Method (DependencyObject, Object)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Prepares the cell to display the specified item.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override void PrepareContainerForItemOverride(
	DependencyObject element,
	object item
)

Parameters

element
Type: System.Windows.DependencyObject

The cell to prepare.

item
Type: System.Object

The item to display.

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

.NET Framework
Available since 4.0
Return to top
Show: