Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

TreeViewItem.PrepareContainerForItemOverride Method

Prepares the specified element to display the specified item.

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

'Declaration
Protected Overrides Sub PrepareContainerForItemOverride ( _
	element As DependencyObject, _
	item As Object _
)

Parameters

element
Type: System.Windows.DependencyObject

The element that displays the specified item.

item
Type: System.Object

The item to display.

.NET Framework

Supported in: 4, 3.5 SP1, 3.0 SP2

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft