RibbonGroup.PrepareContainerForItemOverride Method
Prepares the specified element to display the specified item.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Protected Overrides Sub PrepareContainerForItemOverride ( _
element As DependencyObject, _
item As Object _
)
protected override void PrepareContainerForItemOverride(
DependencyObject element,
Object item
)
protected:
virtual void PrepareContainerForItemOverride(
DependencyObject^ element,
Object^ item
) override
abstract PrepareContainerForItemOverride :
element:DependencyObject *
item:Object -> unit
override PrepareContainerForItemOverride :
element:DependencyObject *
item:Object -> unit
protected override function PrepareContainerForItemOverride(
element : DependencyObject,
item : Object
)
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.
.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.