Excel for WPF and Silverlight
Value Property (XLCell)

C1.WPF.Excel Namespace > XLCell Class : Value Property
Gets or sets the value stored in the cell.
Public Property Value As System.Object
public System.object Value {get; set;}

The value may contain strings, numeric, Boolean, DateTime, or null objects. Other types of objects cannot be saved in Excel files.

DateTime values are internally converted into doubles, and stored in the sheet as such. The only way to tell the difference between a DateTime value and a double in Excel is by way of the format associated with the cell (XLStyle.Format property).

See Also


XLCell Class
XLCell Members