ItemsControl.ShouldApplyItemContainerStyle(DependencyObject, Object) Yöntem

Tanım

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.

Şunlara uygulanır