DataGrid.ClearContainerForItemOverride(DependencyObject, Object) 方法

定义

为指定项卸载行。

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

参数

element
DependencyObject

要清除的 DataGridRow

item
Object

行包含的数据项。

适用于