MenuItem.ShouldApplyItemContainerStyle(DependencyObject, Object) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Öğe kapsayıcısına stil uygulanıp uygulanmayacağını belirlemek için kullanılı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
Stilin uygulanacağı kapsayıcı.
- item
- Object
Kapsayıcının ait olduğu öğe.
Döndürülenler
true
MenuItem Separatordeğilse; değilse, false
.