GrapeCity MultiRow Windows Forms Documentation
Value Property (ShapeCell)


Gets or sets the value associated with this cell.
Syntax
<LocalizableAttribute(True)>
Public Shadows Property Value As Object
Dim instance As ShapeCell
Dim value As Object
 
instance.Value = value
 
value = instance.Value
[Localizable(true)]
public new object Value {get; set;}

Property Value

An System.Object value that represents the data stored by the cell. The default is a null reference (Nothing in Visual Basic).
Remarks

When you assign a different value to a cell, the CellValueChanged event of the GcMultiRow control is raised.

The Cell.Value property is the actual data object contained by the cell, whereas the Cell.FormattedValue property is the formatted representation of the data. The Cell.ValueType and Cell.FormattedValueType properties correspond to the data types of these values, respectively.

When you set the Cell.Value property, the specified value is not automatically converted from a formatted, display value to an underlying cell value. For example, the CellStyle in effect for the cell is ignored, so setting Cell.Value to CellStyle.NullValue does not result in a property value of CellStyle.DataSourceNullValue.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ShapeCell Class
ShapeCell Members
CellValueChanged Event
ValueType Property
FormattedValueType Property
FormattedValue Property

 

 


Copyright © GrapeCity, inc. All rights reserved.