Class GridCellAppearance
Defines the constants that specifies the 3D-look for a cell.
Inheritance
System.Object
GridCellAppearance
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridCellAppearance : Enum
Remarks
The GridCellAppearance enumeration represents the different options for the appearance of a cell that you can specify with the CellAppearance property of the GridStyleInfo class.
Examples
This example shows how to use the GridCellAppearance property enumerator.
this.gridControl1.TableStyle.CellAppearance = GridCellAppearance.Flat;
Me.gridControl1.TableStyle.CellAppearance = GridCellAppearance.Flat
Fields
Flat
Specifies that the cell is drawn flat.
Declaration
public const GridCellAppearance Flat
Field Value
| Type | Description |
|---|---|
| GridCellAppearance | This is the default value. |
Raised
Specifies that the cell is drawn with a raised border.
Declaration
public const GridCellAppearance Raised
Field Value
| Type | Description |
|---|---|
| GridCellAppearance | This is default for Row headers and Column headers. |
Sunken
Specifies that the cell is drawn with a sunken border.
Declaration
public const GridCellAppearance Sunken
Field Value
| Type |
|---|
| GridCellAppearance |