Skip to main content
A newer version of this page is available. .

CellAppearance Members

An object that contains a Data Grid cell’s apperance properties.

Constructors

Name Description
CellAppearance() Initializes a new instance of the CellAppearance class.

Fields

Name Description
BackgroundColorProperty static Identifies the BackgroundColor bindable property. Inherited from DataGridItemAppearanceBase.
BorderColorProperty static Identifies the BorderColor bindable property. Inherited from DataGridItemAppearanceBase.
BottomBorderColorProperty static Identifies the BottomBorderColor bindable property. Inherited from CellAppearanceBase.
CheckBoxColorProperty static Identifies the CheckBoxColor bindable property.
CheckBoxPaddingProperty static Identifies the CheckBoxPadding bindable property.
CheckedCheckBoxColorProperty static Identifies the CheckedCheckBoxColor bindable property.
FontAttributesProperty static Identifies the FontAttributes bindable property. Inherited from DataGridItemAppearanceBase.
FontColorProperty static Identifies the FontColor bindable property. Inherited from DataGridItemAppearanceBase.
FontFamilyProperty static Identifies the FontFamily bindable property. Inherited from DataGridItemAppearanceBase.
FontSizeProperty static Identifies the FontSize bindable property. Inherited from DataGridItemAppearanceBase.
HorizontalLineThicknessProperty static Identifies the HorizontalLineThickness bindable property. Inherited from CellAppearanceBase.
ImagePaddingProperty static Identifies the ImagePadding bindable property.
PaddingProperty static Identifies the Padding bindable property. Inherited from CellAppearanceBase.
SelectionColorProperty static Identifies the SelectionColor bindable property.
SelectionFontColorProperty static Identifies the SelectionFontColor bindable property.
TextDecorationsProperty static Identifies the TextDecorations bindable property. Inherited from DataGridItemAppearanceBase.

Properties

Name Description
BackgroundColor Inherited from DataGridItemAppearanceBase.
BorderColor Gets or sets the border color of the DataGridView‘s items. This is a bindable property. Inherited from DataGridItemAppearanceBase.
BottomBorderColor Gets or sets the color of the DataGridView cell’s bottom border. This is a bindable property. Inherited from CellAppearanceBase.
CheckBoxColor Gets or sets the color of the DataGridView cell’s check box. This is a bindable property.
CheckBoxPadding Gets or sets the padding of the DataGridView cell’s check box. This is a bindable property.
CheckedCheckBoxColor Gets or sets the padding of the DataGridView cell’s check box when it is checked. This is a bindable property.
FontAttributes Gets or sets the font attributes of the DataGridView‘s items. This is a bindable property. Inherited from DataGridItemAppearanceBase.
FontColor Gets or sets the font color of the DataGridView‘s items. This is a bindable property. Inherited from DataGridItemAppearanceBase.
FontFamily Gets or sets the font family of the DataGridView‘s items. This is a bindable property. Inherited from DataGridItemAppearanceBase.
FontSize Gets or sets the font size of the DataGridView‘s items. This is a bindable property. Inherited from DataGridItemAppearanceBase.
HorizontalLineThickness Gets or sets the thickness of the DataGridView cell’s horizontal line. This is a bindable property. Inherited from CellAppearanceBase.
ImagePadding Gets or sets the DataGridView cell’s image padding. This is a bindable property.
Padding Gets or sets the padding of the DataGridView cell. This is a bindable property. Inherited from CellAppearanceBase.
SelectionColor Gets or sets the color of the DataGridView cell’s selection. This is a bindable property.
SelectionFontColor Gets or sets the font color of the DataGridView cell’s selection. This is a bindable property.
TextDecorations Gets or sets the text decorations of the DataGridView‘s items. This is a bindable property. Inherited from DataGridItemAppearanceBase.

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