ListBox.PrepareContainerForItemOverride Method (DependencyObject, Object)

 
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 specified element to display the specified item.

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

protected override void PrepareContainerForItemOverride(
	DependencyObject element,
	object item
)

Parameters

element
Type: System.Windows.DependencyObject

Element used to display the specified item.

item
Type: System.Object

Specified item.

Preparing the element may involve applying styles, setting bindings, and so on.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Return to top
Show: