編輯

共用方式為


StatusBar.PrepareContainerForItemOverride(DependencyObject, Object) Method

Definition

Prepares an item for display in the StatusBar.

protected:
 override void PrepareContainerForItemOverride(System::Windows::DependencyObject ^ element, System::Object ^ item);
protected override void PrepareContainerForItemOverride (System.Windows.DependencyObject element, object item);
override this.PrepareContainerForItemOverride : System.Windows.DependencyObject * obj -> unit
Protected Overrides Sub PrepareContainerForItemOverride (element As DependencyObject, item As Object)

Parameters

element
DependencyObject

The item to display in the StatusBar.

item
Object

The content of the item to display.

Remarks

If the element is a Separator, this method sets its Style.

Applies to