ItemsControl.ShouldApplyItemContainerStyle(DependencyObject, Object) ItemsControl.ShouldApplyItemContainerStyle(DependencyObject, Object) ItemsControl.ShouldApplyItemContainerStyle(DependencyObject, Object) ItemsControl.ShouldApplyItemContainerStyle(DependencyObject, Object) Method

Definición

Devuelve un valor que indica si se aplica el estilo de la propiedad ItemContainerStyle o ItemContainerStyleSelector al elemento contenedor del elemento especificado.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

Parámetros

container
DependencyObject DependencyObject DependencyObject DependencyObject

Elemento contenedor.The container element.

item
Object Object Object Object

El elemento de interés.The item of interest.

Devoluciones

Siempre true para la implementación base.Always true for the base implementation.

Se aplica a