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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.