RibbonApplicationMenu.ShouldApplyItemContainerStyle メソッド

定義

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

コンテナーの対象である項目。

戻り値

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

適用対象