Gets or sets the value of the current cell.
[Visual Basic]
Public Property Value As Object
[C#]
public object Value {get;set;}
[Delphi]
public property Value: Object read get_Value write set_Value;
Remarks
The Value property is useful for simulating data entry within a cell. When this property is set, the value displayed in the cell respects the setting of the column's NumberFormat property.
Use the Text property to access the formatted data value in a column for the current row.
Example
For an example using the Value property, see Setting Default Values for New Rows.
See Also
C1DataColumn Class | C1DataColumn Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |