Dela via


RibbonGroup.ClearContainerForItemOverride Method

Unloads the container for the specified item.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Protected Overrides Sub ClearContainerForItemOverride ( _
    element As DependencyObject, _
    item As Object _
)
protected override void ClearContainerForItemOverride(
    DependencyObject element,
    Object item
)
protected:
virtual void ClearContainerForItemOverride(
    DependencyObject^ element, 
    Object^ item
) override
abstract ClearContainerForItemOverride : 
        element:DependencyObject * 
        item:Object -> unit 
override ClearContainerForItemOverride : 
        element:DependencyObject * 
        item:Object -> unit 
protected override function ClearContainerForItemOverride(
    element : DependencyObject, 
    item : Object
)

Parameters

Remarks

This method undoes the effects of the PrepareContainerForItemOverride method.

.NET Framework Security

See Also

Reference

RibbonGroup Class

Microsoft.Windows.Controls.Ribbon Namespace