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
 
<SRCategoryAttribute("Cell Value")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<DescriptionAttribute("Contains cell value information of a cell.")>
<BrowsableAttribute(False)>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
Public Property CellValue As Object
'Usage
 
Dim instance As GridStyleInfo
Dim value As Object
 
instance.CellValue = value
 
value = instance.CellValue
[SRCategory("Cell Value")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Description("Contains cell value information of a cell.")]
[Browsable(false)]
[RefreshProperties(RefreshProperties.Repaint)]
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.3460.0.9

See Also