RibbonMenuItem.ShouldApplyItemContainerStyle(DependencyObject, Object) メソッド

定義

指定した項目のコンテナー要素に ItemContainerStyle プロパティまたは ItemContainerStyleSelector プロパティのスタイルを適用するかどうかを示す値を返します。

protected:
 override bool ShouldApplyItemContainerStyle(System::Windows::DependencyObject ^ container, System::Object ^ item);
protected override bool ShouldApplyItemContainerStyle(System.Windows.DependencyObject container, object item);
override this.ShouldApplyItemContainerStyle : System.Windows.DependencyObject * obj -> bool
Protected Overrides Function ShouldApplyItemContainerStyle (container As DependencyObject, item As Object) As Boolean

パラメーター

container
DependencyObject

コンテナー要素。

item
Object

表示する項目。

返品

false containerRibbonSeparatorまたはRibbonGalleryの場合は a0/>。それ以外の場合は、基本実装によって返される値。

適用対象