Skip to main content

CustomCellStyleEventArgs Members

Provides data for the DataGridView.CustomCellStyle event.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
BackgroundColor Gets or sets the cell background color.
FieldName Gets the field name of the column that contains the cell.
FontAttributes Gets or sets whether the cell text is bold or italic.
FontColor Gets or sets the cell text color.
FontFamily Gets or sets the font family name for the cell text.
FontSize Gets or sets the cell text size.
Item Gets an object that specifies the data source’s item to which the grid’s data row corresponds.
RowHandle Gets the handle of the row that contains the cell.
TextDecorations Gets or sets whether the cell text is underlined and/or strike-through.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also