PrepareContainerForItemOverride Method

RibbonMenuButton.PrepareContainerForItemOverride Method (DependencyObject, Object)

.NET Framework (current version)
 

Prepares the specified element to display the specified item.

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

protected override void PrepareContainerForItemOverride(
	DependencyObject element,
	object item
)

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
Available since 4.5
Return to top
Show:
© 2016 Microsoft