RibbonTab.PrepareContainerForItemOverride(DependencyObject, Object) 方法

定义

准备好指定的元素以显示指定的项。Prepares the specified element to display the specified item.

protected:
 override void PrepareContainerForItemOverride(System::Windows::DependencyObject ^ element, System::Object ^ item);
protected override void PrepareContainerForItemOverride (System.Windows.DependencyObject element, object item);
override this.PrepareContainerForItemOverride : System.Windows.DependencyObject * obj -> unit
Protected Overrides Sub PrepareContainerForItemOverride (element As DependencyObject, item As Object)

参数

element
DependencyObject

用于显示项的元素。The element that is used to display the item.

item
Object

要从 Items 集合中显示的项。The item to display from the Items collection.

适用于