DataGridTableStyle.Dispose(Boolean) Method

Definition

Disposes of the resources (other than memory) used by the DataGridTableStyle.

protected:
 override void Dispose(bool disposing);
protected override void Dispose (bool disposing);
override this.Dispose : bool -> unit
Protected Overrides Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

The method calls the DataGridTableStyle.Dispose method on each DataGridColumnStyle contained by the collection before calling DataGrid.Dispose on the grid itself.

Applies to