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.

C#
protected virtual bool ShouldApplyItemContainerStyle(System.Windows.DependencyObject container, object item);

Parametreler

container
DependencyObject

Kapsayıcı öğesi.

item
Object

İlgilenen öğe.

Döndürülenler

Her zaman true temel uygulama için.

Şunlara uygulanır

Ürün Sürümler
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10