Compartilhar via


Método RibbonMenuButton.ClearContainerForItemOverride

Descarrega o recipiente para o item especificado.

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

Sintaxe

'Declaração
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
)

Parâmetros

Comentários

Este método desfaz os efeitos de PrepareContainerForItemOverride método.

Segurança do .NET Framework

Consulte também

Referência

RibbonMenuButton Classe

Namespace Microsoft.Windows.Controls.Ribbon