ItemsControl.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:
virtual void PrepareContainerForItemOverride(System::Windows::DependencyObject ^ element, System::Object ^ item);
protected virtual void PrepareContainerForItemOverride (System.Windows.DependencyObject element, object item);
abstract member PrepareContainerForItemOverride : System.Windows.DependencyObject * obj -> unit
override this.PrepareContainerForItemOverride : System.Windows.DependencyObject * obj -> unit
Protected Overridable Sub PrepareContainerForItemOverride (element As DependencyObject, item As Object)
Parameters
- element
- DependencyObject
Element used to display the specified item.
- item
- Object
Specified item.
Remarks
Preparing the element may involve applying styles, setting bindings, and so on.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.