StatusBar.ShouldApplyItemContainerStyle(DependencyObject, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.