DataGrid.PrepareContainerForItemOverride(DependencyObject, Object) 方法

定义

为指定项准备新行。

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)

参数

element
DependencyObject

新的 DataGridRow

item
Object

行包含的数据项。

适用于