Aracılığıyla paylaş


StatusBar.ShouldApplyItemContainerStyle(DependencyObject, Object) Yöntem

Tanım

içindeki bir öğe StatusBar için bir nesneye uygulanıp uygulanmayacağını Style belirler.

protected:
 override bool ShouldApplyItemContainerStyle(System::Windows::DependencyObject ^ container, System::Object ^ item);
protected override bool ShouldApplyItemContainerStyle (System.Windows.DependencyObject container, object item);
override this.ShouldApplyItemContainerStyle : System.Windows.DependencyObject * obj -> bool
Protected Overrides Function ShouldApplyItemContainerStyle (container As DependencyObject, item As Object) As Boolean

Parametreler

container
DependencyObject

Öğenin kapsayıcısı.

item
Object

Değerlendirilecek nesne.

Döndürülenler

Boolean

trueitem Separatordeğilse; değilse, false.

Açıklamalar

Bu yöntem, içindeki bir öğenin StatusBar stilinin bir öğeye Separator uygulanmamasını sağlar.

Şunlara uygulanır