Share via


RibbonApplicationMenu.GetContainerForItemOverride Method

Returns a new RibbonApplicationMenuItem object.

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

Syntax

'Declaration
Protected Overrides Function GetContainerForItemOverride As DependencyObject
protected override DependencyObject GetContainerForItemOverride()
protected:
virtual DependencyObject^ GetContainerForItemOverride() override
abstract GetContainerForItemOverride : unit -> DependencyObject 
override GetContainerForItemOverride : unit -> DependencyObject 
protected override function GetContainerForItemOverride() : DependencyObject

Return Value

Type: System.Windows.DependencyObject
A new menu item object that is the container for the item.

.NET Framework Security

See Also

Reference

RibbonApplicationMenu Class

Microsoft.Windows.Controls.Ribbon Namespace