RibbonApplicationMenu.ShouldApplyItemContainerStyle メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した項目のコンテナー要素に 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
containerがRibbonApplicationSplitMenuItem、RibbonSeparator、またはRibbonGalleryの場合は 、基本実装によって返される値。