編輯

共用方式為


DataGrid.PrepareContainerForItemOverride(DependencyObject, Object) Method

Definition

Prepares a new row for 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 new DataGridRow.

item
Object

The data item that the row contains.

Applies to