Edit

Share via


DataGrid.ClearContainerForItemOverride(DependencyObject, Object) Method

Definition

Unloads the row for the specified item.

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)

Parameters

element
DependencyObject

The DataGridRow to clear.

item
Object

The data item that the row contains.

Applies to