Menu.PrepareContainerForItemOverride(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.
Prepares the specified element to display the specified item.
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 element used to display the specified item.
- item
- Object
The item to display.
Remarks
Preparing the element might involve applying styles, setting bindings, and so on.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.