DataGridCellsPresenter.ClearContainerForItemOverride(DependencyObject, Object) DataGridCellsPresenter.ClearContainerForItemOverride(DependencyObject, Object) DataGridCellsPresenter.ClearContainerForItemOverride(DependencyObject, Object) DataGridCellsPresenter.ClearContainerForItemOverride(DependencyObject, Object) Method

Definition

Clears the container reference for the specified cell.

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

item
Object Object Object Object

The data item. This value is not used.

Remarks

This method sets the row owner value for the DataGridCell to null.

Applies to

See also