Back to Devexpress

CellValue Members

officefileapi-devexpress-dot-spreadsheet-dot-cellvalue-dot-underscore-members.md

latest13.0 KB
Original Source

CellValue Members

A data value contained in a cell.

Fields

NameDescription
ErrorDivisionByZero staticReturns the CellValue object specifying the #DIV/0! error value of a cell.
ErrorInvalidValueInFunction staticReturns the CellValue object specifying the #VALUE! error value of a cell.
ErrorName staticReturns the CellValue object specifying the #NAME? error value of a cell.
ErrorNullIntersection staticReturns the CellValue object specifying the #NULL! error value of a cell.
ErrorNumber staticReturns the CellValue object specifying the #NUM! error value of a cell.
ErrorReference staticReturns the CellValue object specifying the #REF! error value of a cell.
ErrorValueNotAvailable staticReturns the CellValue object specifying the #N/A error value of a cell.

Properties

NameDescription
BooleanValueReturns a Boolean value contained in a cell.
DateTimeValueReturns the date and time value that corresponds to the number contained in a cell.
DefaultConverter staticProvides access to the default converter which is used to convert objects of basic data types to cell values, and vise versa.
Empty staticReturns an empty cell value.
ErrorValueReturns an object that provides information on an error contained in a cell.
ImageValueReturns an image value contained in a cell.
IsBooleanGets whether the cell contains a Boolean value.
IsCellImageIndicates whether a cell contains an embedded image.
IsDateTimeGets whether the cell’s numeric value is displayed as date and time.
IsEmptyGets whether the cell is empty.
IsErrorGets whether the cell contains an error.
IsNumericGets whether the cell contains a number.
IsTextGets whether the cell contains text.
NumericValueReturns a number contained in a cell.
TextValueReturns a string contained in a cell.
TypeGets the type of data contained in a cell.

Methods

NameDescription
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether two objects are equal.
FromDateTime(DateTime, Boolean) staticConverts the DateTime object to a cell value using the specified date system.
FromObject(Object, ICellValueConverter) staticConverts the specified object to a cell value using the custom converter.
FromObject(Object) staticConverts the specified object to a cell value using the default converter.
GetHashCode()Gets the hash code (a number) that corresponds to the value of the current CellValue object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToObject()Converts the cell value to an object using the default converter.
ToObject(ICellValueConverter)Converts the cell value to an object using the specified converter.
ToString()Returns a string representation of the cell value.
ToString(IFormatProvider)Returns a string representation of the cell value.
TryCreateFromObject(Object, ICellValueConverter) staticTries to convert the specified object to a cell value using the custom converter.
TryCreateFromObject(Object) staticTries to convert the specified object to a cell value using the default converter.

Operators

NameDescription
Equality(CellValue, CellValue) staticCompares two CellValue objects for equality.
Implicit(DXImage to CellValue) staticImplicitly converts a DevExpress.Drawing.DXImage value to a cell value.
Implicit(OfficeImage to CellValue) staticImplicitly converts an OfficeImage value to a cell value.
Implicit(ErrorType to CellValue) staticImplicitly converts a value of error type to a cell value.
Implicit(Boolean to CellValue) staticImplicitly converts a Boolean value to a cell value.
Implicit(Byte[] to CellValue) staticImplicitly converts a System.Byte[] value to a cell value.
Implicit(Char to CellValue) staticImplicitly converts a Char value to a cell value.
Implicit(DateTime to CellValue) staticImplicitly converts a DateTime value to a cell value.
Implicit(Decimal to CellValue) staticImplicitly converts a Decimal value to a cell value.
Implicit(Double to CellValue) staticImplicitly converts a Double value to a cell value.
Implicit(Image to CellValue) staticImplicitly converts a System.Drawing.Image value to a cell value.
Implicit(Int32 to CellValue) staticImplicitly converts an Int32 value to a cell value.
Implicit(Int64 to CellValue) staticImplicitly converts an Int64 value to a cell value.
Implicit(Stream to CellValue) staticImplicitly converts a Stream value to a cell value.
Implicit(Single to CellValue) staticImplicitly converts a Single value to a cell value.
Implicit(String to CellValue) staticImplicitly converts a String value to a cell value.
Implicit(TimeSpan to CellValue) staticImplicitly converts a TimeSpan value to a cell value.
Inequality(CellValue, CellValue) staticCompares two CellValue objects to determine whether they are not equal.

See Also

CellValue Class

DevExpress.Spreadsheet Namespace