Remarks: Call Dispose() when you are finished using the Brush. The Dispose() method leaves the Brush in an unusable state. After calling Dispose(), you must release all references to the Brush so the garbage collector can reclaim the memory that the Brush was occupying.