Objective Grid for Microsoft® .NET® Reference Guide

OGBrush Members

Back to Class Index

OGBrush overview

Public Static (Shared) Methods

OGHatchedBrushOverloaded. Creates a hatched brush using the specified foreground color and HatchStyle.
OGHollowBrush Creates a hollow brush.
OGSolidBrush Creates a solid brush using the specified background color.

Public Instance Constructors

OGBrushOverloaded. Initializes a new instance of the OGBrush class.

Public Instance Properties

BackColor Gets the background color for the brush.
Description Returns a string description of the brush.
ForeColor Gets the foreground color for the brush.
Hatch Gets the HatchStyle used to paint the Interior of a grid cell.
Style Gets the BrushStyle used to paint the interior of a cell.

Public Instance Methods

Clone Creates a copy of a brush
Equals Returns true if and only if two brushes are equal.
GetBrushKey Returns the hash code for the brush.
GetHashCode Calculates the hash code for a brush.
GetObjectData FOR INTERNAL USE ONLY.
GetType (inherited from Object)Gets the Type of the current instance.
MakeGdiPlusBrush Converts an OG Brush into a GDI+ brush object.
ToString FOR INTERNAL USE ONLY.

Protected Instance Fields

backColor Background color
foreColor Foreground color
hatch OGBrush HatchStyle
style BrushStyle instance variable.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

OGBrush Class | Stingray.Grid Namespace