Aracılığıyla paylaş


RibbonContextMenu.ShouldApplyItemContainerStyle Yöntem

Tanım

veya ItemContainerStyleSelector özelliğinden ItemContainerStyle stilin belirtilen öğenin kapsayıcı öğesine uygulanıp uygulanmayacağını belirten bir değer döndürür.

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

Parametreler

container
DependencyObject

Kapsayıcı öğesi.

item
Object

Görüntülenecek öğe.

Döndürülenler

Boolean

falseRibbonSeparatorRibbonApplicationSplitMenuItem, veya RibbonGalleryisecontainer, aksi takdirde temel uygulama tarafından döndürülen değerdir.

Şunlara uygulanır