MSDN Library
Comprimi il sommario
Espandi il sommario
EN
Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.

ItemsControl.ClearContainerForItemOverride Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Undoes the effects of the PrepareContainerForItemOverride method.

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

'Dichiarazione
Protected Overridable Sub ClearContainerForItemOverride ( _
	element As DependencyObject, _
	item As Object _
)

Parameters

element
Type: System.Windows.DependencyObject
The container element.
item
Type: System.Object
The item.

A class that inherits from ItemsControl can override this method to undo one or more of the actions that it takes in the PrepareContainerForItemOverride method. If you override ClearContainerForItemOverride, always call the base implementation in your ClearContainerForItemOverride implementation.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Mostra:
© 2016 Microsoft