ItemsControl.ShouldApplyItemContainerStyle(DependencyObject, Object) メソッド

定義

指定した項目のコンテナー要素に ItemContainerStyle プロパティまたは ItemContainerStyleSelector プロパティのスタイルを適用するかどうかを示す値を返します。

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

パラメーター

container
DependencyObject

コンテナー要素。

item
Object

関心のある項目。

返品

基本実装の場合は常に true

適用対象