Back to Devexpress

ValueObject Members

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

latest8.2 KB
Original Source

ValueObject Members

An object that can be used to specify a value associated with a custom cell in-place editor or to create a criterion for data validation.

Properties

NameDescription
BooleanValueConverts the object’s value to Boolean and returns the result.
Empty staticReturns an empty object.
ErrorValueConverts the object’s value to cell error type and returns the result.
FormulaConverts the object’s value to a worksheet formula and returns the result.
FormulaInvariantConverts the object’s value to a worksheet formula in the invariant culture (English), and returns the result.
IsBooleanGets whether the object originates from the value of the boolean type.
IsEmptyGets whether the object has an empty value.
IsErrorGets whether the object contains a Cell Error value.
IsFormulaGets whether the object contains a cell formula value.
IsNumericGets whether the object originates from a number.
IsRangeGets whether the object originates from a worksheet Range.
IsTextGets whether the object originates from a text string.
NumericValueConverts the object’s value to numeric and returns the result.
RangeValueConverts the object’s value to a worksheet range and returns the result.
TextValueConverts the object’s value to a string and returns the result.

Methods

NameDescription
CreateListSource(CellValue[]) staticCreates the ValueObject instance from the specified array of values.
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) staticCreates the ValueObject instance from the DateTime object using the specified date system.
FromFormula(String, Boolean) staticCreates the ValueObject instance using the formula string.
FromRange(CellRange) staticCreates the ValueObject instance that originates from the worksheet range.
GetDateTimeValue(Boolean)Converts the object’s value to DateTime and returns the result.
GetHashCode()Returns a number that identifies the object instance.
GetType()Gets the Type of the current instance. Inherited from Object.
IsNullOrEmpty(ValueObject) staticDetermines whether the specified object is null or has an empty value.
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.
ToString()Returns a string that represents the current object. Inherited from Object.

Operators

NameDescription
Implicit(CellValue to ValueObject) staticImplicitly converts a cell value to a ValueObject instance.
Implicit(Boolean to ValueObject) staticImplicitly converts a Boolean value to a ValueObject instance.
Implicit(Char to ValueObject) staticImplicitly converts a Char value to a ValueObject instance.
Implicit(DateTime to ValueObject) staticImplicitly converts a DateTime object to a ValueObject instance.
Implicit(Double to ValueObject) staticImplicitly converts a Double value to a ValueObject instance.
Implicit(Int32 to ValueObject) staticImplicitly converts an Int32 value to a ValueObject instance.
Implicit(String to ValueObject) staticImplicitly converts a String value to a ValueObject instance.

See Also

ValueObject Class

DevExpress.Spreadsheet Namespace