Selector.ClearContainerForItemOverride Method

July 28, 2014

Removes any bindings and templates applied to the item container for the specified content.

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

Protected Overrides Sub ClearContainerForItemOverride ( _
	element As DependencyObject, _
	item As Object _


Type: System.Windows.DependencyObject
The combo box item used to display the specified content.
Type: System.Object
The item content.

This method removes styles, binding, and other item-specific effects that were applied to an item to prepare it to contain the specified content.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2014 Microsoft