ItemsControl.ShouldApplyItemContainerStyle(DependencyObject, Object) 메서드

정의

ItemContainerStyle 또는 ItemContainerStyleSelector 속성의 스타일을 지정된 항목의 컨테이너 요소에 적용할지 여부를 나타내는 값을 반환합니다.Returns a value that indicates whether to apply the style from the ItemContainerStyle or ItemContainerStyleSelector property to the container element of the specified item.

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

컨테이너 요소입니다.The container element.

item
Object

해당 항목입니다.The item of interest.

반환

기본 구현에서는 항상 true입니다.Always true for the base implementation.

적용 대상