TreeViewItem.PrepareContainerForItemOverride(DependencyObject, Object) TreeViewItem.PrepareContainerForItemOverride(DependencyObject, Object) TreeViewItem.PrepareContainerForItemOverride(DependencyObject, Object) TreeViewItem.PrepareContainerForItemOverride(DependencyObject, Object) Method

Definition

Prepares the specified element 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 DependencyObject DependencyObject DependencyObject

The element that displays the specified item.

item
Object Object Object Object

The item to display.

Applies to