Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
CoerceValue ( object value ) : object |
Attempts to coerce the specific value into the appropriate object representation for the current property type.
|
|
FormatValue ( object value ) : string |
Gets the formatted representation of a value based on the formatting rules defined for the current property.
|
|
FormatValue ( object value, string format ) : string |
Gets the formatted representation of a value based on the formatting rules defined for the current property.
|
|
FormatValue ( object value, string format, IFormatProvider provider ) : string |
Gets the formatted representation of a value based on the formatting rules defined for the current property.
|
|
GetDefaultValue ( ) : object |
Gets the current default value for this property, or null if no default value has been specified.
|
Метод | Описание | |
---|---|---|
GetFormattedValue ( ModelInstance instance, string format ) : string |
Gets the formatted value of the property for the specified instance.
|
|
GetFormattedValue ( ModelInstance instance, string format, IFormatProvider provider ) : string |
Gets the formatted value of the property for the specified instance.
|
|
ModelValueProperty ( ModelType declaringType, string name, string label, string helptext, string format, bool isStatic, |
public CoerceValue ( object value ) : object | ||
value | object | |
Результат | object |
public FormatValue ( object value ) : string | ||
value | object | The correct value type to format |
Результат | string |
public FormatValue ( object value, string format ) : string | ||
value | object | The correct value type to format |
format | string | The format specifier, or null to use the default property format |
Результат | string |
public FormatValue ( object value, string format, IFormatProvider provider ) : string | ||
value | object | The correct value type to format |
format | string | The format specifier, or null to use the default property format |
provider | IFormatProvider | The format provider, or null to use the property's default format provider |
Результат | string |
protected GetFormattedValue ( ModelInstance instance, string format ) : string | ||
instance | ModelInstance | |
format | string | |
Результат | string |
protected GetFormattedValue ( ModelInstance instance, string format, IFormatProvider provider ) : string | ||
instance | ModelInstance | |
format | string | |
provider | IFormatProvider | |
Результат | string |
protected ModelValueProperty ( ModelType declaringType, string name, string label, string helptext, string format, bool isStatic, |
||
declaringType | ModelType | |
name | string | |
label | string | |
helptext | string | |
format | string | |
isStatic | bool | |
propertyType | ||
converter | ||
isList | bool | |
isReadOnly | bool | |
isPersisted | bool | |
attributes | ||
defaultValue | ||
Результат | System |