ItemsControl.ShouldApplyItemContainerStyle(DependencyObject, Object) Metoda

Definicja

Zwraca wartość wskazującą, czy należy zastosować styl z ItemContainerStyle właściwości lub ItemContainerStyleSelector do elementu kontenera określonego elementu.

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

Parametry

container
DependencyObject

Element kontenera.

item
Object

Przedmiot zainteresowania.

Zwraca

Zawsze true w przypadku implementacji podstawowej.

Dotyczy