Also, should probably also add if (_rowBackColorBrush != null) _rowBackColorBrush.Dispose(); if (_inactiveHighlightrowBackColorBrush != null) _inactiveHighlightrowBackColorBrush.Dispose(); if (_gridLinePen != null) _gridLinePen.Dispose(); if (_highlightRowBackColorBrush != null) _highlightRowBackColorBrush.Dispose(); to your class void Dispose(bool disposing) routine (I didn't use the +/- minus stuff so may need more for that option)