Syncfusion.Grid.Windows


CellType Property (GridStyleInfo)

Gets or sets the cell type for this style instance. Cell types are accessed in the grid through the GridModel.CellModels property of a GridModel which returns a GridCellModelBase object. To access cell renderers use the GridControlBase.CellRenderers property of a GridControlBase instance.
Syntax
'Declaration
 
<TypeConverterAttribute(Syncfusion.Windows.Forms.Grid.GridCellTypeNameConverter)>
<NotifyParentPropertyAttribute(True)>
<DescriptionAttribute("Contains cell type information of a cell.")>
<BrowsableAttribute(True)>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<SRCategoryAttribute("StyleCategoryAppearance")>
Public Property CellType As String
'Usage
 
Dim instance As GridStyleInfo
Dim value As String
 
instance.CellType = value
 
value = instance.CellType
[TypeConverter(Syncfusion.Windows.Forms.Grid.GridCellTypeNameConverter)]
[NotifyParentProperty(true)]
[Description("Contains cell type information of a cell.")]
[Browsable(true)]
[RefreshProperties(RefreshProperties.Repaint)]
[SRCategory("StyleCategoryAppearance")]
public string CellType {get; set;}
Remarks

The default value for the CellType property is Text Box.

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

AssemblyVersion

Syncfusion.Grid.Windows: 18.1460.0.42

See Also