Syncfusion.Grid.Windows
Example 


CellAppearance Property

Gets or sets if cell edges shall be drawn raised, sunken, or flat (default).
Syntax
'Declaration
 
<BrowsableAttribute(True)>
<DescriptionAttribute("Specifies if cell edges shall be drawn raised, sunken, or flat (default).")>
<SRCategoryAttribute("StyleCategoryAppearance")>
<NotifyParentPropertyAttribute(True)>
Public Property CellAppearance As GridCellAppearance
'Usage
 
Dim instance As GridStyleInfo
Dim value As GridCellAppearance
 
instance.CellAppearance = value
 
value = instance.CellAppearance
[Browsable(true)]
[Description("Specifies if cell edges shall be drawn raised, sunken, or flat (default).")]
[SRCategory("StyleCategoryAppearance")]
[NotifyParentProperty(true)]
public GridCellAppearance CellAppearance {get; set;}
Remarks

The default value for the CellAppearance property is GridCellAppearance.Flat.

The property affects the behavior or appearance of the following cell types:

Example
This example shows how to set the appearance of a cell.
//Set the Cell Appearance.
this.gridControl1.TableStyle.CellAppearance = GridCellAppearance.Sunken;
'Set the Cell Appearance.
 Me.gridControl1.TableStyle.CellAppearance = GridCellAppearance.Sunken
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also