Επεξεργασία

Κοινή χρήση μέσω


StatusBar.ShouldApplyItemContainerStyle(DependencyObject, Object) Method

Definition

Determines whether to apply the Style for an item in the StatusBar to an object.

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

Parameters

container
DependencyObject

The container for the item.

item
Object

The object to evaluate.

Returns

true if the item is not a Separator; otherwise, false.

Remarks

This method makes sure that the style for an item in a StatusBar is not applied to a Separator element.

Applies to