ClearContainerForItemOverride Method

RibbonGallery.ClearContainerForItemOverride Method (DependencyObject, Object)

.NET Framework (current version)
 

Unloads the container for the specified item.

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

protected override void ClearContainerForItemOverride(
	DependencyObject element,
	object item
)

Parameters

element
Type: System.Windows.DependencyObject

The element that is used to display the item.

item
Type: System.Object

The item to display from the Items collection.

This method undoes the effects of the PrepareContainerForItemOverride method.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft