RibbonApplicationMenuItem.PrepareContainerForItemOverride 方法

定义

准备好指定的元素以显示指定的项。

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

用于显示项的元素。

item
Object

要从 Items 集合中显示的项。

适用于