This documentation is archived and is not being maintained.

DataGridViewCellStyle Methods

The DataGridViewCellStyle type exposes the following members.

Public method ApplyStyle Applies the specified DataGridViewCellStyle to the current DataGridViewCellStyle.
Public method Clone Creates an exact copy of this DataGridViewCellStyle.
Public method Equals Returns a value indicating whether this instance is equivalent to the specified object. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string indicating the current property settings of the DataGridViewCellStyle. (Overrides Object.ToString().)

Explicit interface implemetation Private method ICloneable.Clone Creates an exact copy of this DataGridViewCellStyle.