DataGridTableStyle.Dispose(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.