Base brush class to use when calling fill methods of a Graphics object

Properties

ControlObject

#
public object ControlObject { get; set; }
Gets or sets the control object for this widget

Handler

#
public abstract object Handler { get; }
Gets the platform handler object for the widget

Methods

Dispose

#
public void Dispose()
Releases all resource used by the Brush object.
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.

Dispose

#
protected virtual void Dispose(bool disposing)
Disposes the brush
disposing (bool)If set to true dispose was called explicitly, otherwise specify false if calling from a finalizer