ValuePropertyFormatter Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class ValuePropertyFormatter : PropertyFormatterBase
The ValuePropertyFormatter type exposes the following members.
| Name | Description | |
|---|---|---|
| BoolFalseValue |
Used if DataType is Boolean.
Can be null.
| |
| BoolTrueValue |
Used if DataType is Boolean.
Can be null.
| |
| DataType |
datatype for the value property
| |
| DateTimeFormat |
Used if DataType is DateTime.
| |
| ForInputField |
Angiver om den formatterede værdi skal anvendes i et input felt.
(Inherited from PropertyFormatterBase.) | |
| NullValue |
Denne værdi returneres hvis værdien, der skal formatteres, er null.
(Inherited from PropertyFormatterBase.) | |
| NumericFormat |
Used if DataType is Integer or Decimal.
| |
| NumericPrecision |
Used if DataType is Integer or Decimal.
| |
| TimeSpanFormat |
Used if DataType is TimeSpan.
|
| Name | Description | |
|---|---|---|
| Assign | ||
| FormatValue(Object) | (Overrides PropertyFormatterBaseFormatValue(Object).) | |
| FormatValue(DataObjectVersionProperty) | (Inherited from PropertyFormatterBase.) | |
| FormatValue(Object, ValuePropertyFormatter) | ||
| FormatValue(Object, ValuePropertyFormatter, IFormatProvider) |
Formats a value property value to a string using the settings on the formatInfo object.
|
| Name | Description | |
|---|---|---|
| ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) | |
| ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) | |
| ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |