ItemsControl.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.
Belirtilen öğenin kapsayıcı öğesine veya ItemContainerStyleSelector özelliğinden stilin ItemContainerStyle uygulanıp uygulanmayacağını belirten bir değer döndürür.
protected:
virtual bool ShouldApplyItemContainerStyle(System::Windows::DependencyObject ^ container, System::Object ^ item);
protected virtual bool ShouldApplyItemContainerStyle(System.Windows.DependencyObject container, object item);
abstract member ShouldApplyItemContainerStyle : System.Windows.DependencyObject * obj -> bool
override this.ShouldApplyItemContainerStyle : System.Windows.DependencyObject * obj -> bool
Protected Overridable Function ShouldApplyItemContainerStyle (container As DependencyObject, item As Object) As Boolean
Parametreler
- container
- DependencyObject
Kapsayıcı öğesi.
- item
- Object
İlgilenen öğe.
Döndürülenler
Her zaman true temel uygulama için.