alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved