Syncfusion.Grid.Windows


CellValue Property (GridStyleInfo)

Gets or sets the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from System.Object.
Syntax
'Declaration
 
<DescriptionAttribute("Contains cell value information of a cell.")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(False)>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<SRCategoryAttribute("Cell Value")>
Public Property CellValue As Object
'Usage
 
Dim instance As GridStyleInfo
Dim value As Object
 
instance.CellValue = value
 
value = instance.CellValue
[Description("Contains cell value information of a cell.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
[RefreshProperties(RefreshProperties.Repaint)]
[SRCategory("Cell Value")]
public object CellValue {get; set;}
Remarks

The default value for the CellValue property is String.Empty.

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

TODO: Explain how to set StylePropertyInfo.IsCloneable = false and StylePropertyInfo.IsDisposable = false or implement IStyleCloneable to avoid cloning and disposing of objects assigned to Tag.

AssemblyVersion

Syncfusion.Grid.Windows: 17.1460.0.47

See Also