ValueProperty Methods |
The ValueProperty type exposes the following members.
| Name | Description | |
|---|---|---|
| CheckSecurity | (Inherited from BaseProperty.) | |
| Clone | (Overrides BasePropertyClone.) | |
| CloneProperty |
Clones the property and resets all relevant ID's
(Inherited from BaseProperty.) | |
| CompareTo | (Overrides BasePropertyCompareTo(Object).) | |
| ConvertStringValue |
Converts a string value to a value of a type matching the provided PropertyDataType.
The string value must be convertible.
May return null.
| |
| CopyTo |
Called from impl. of Clone in sub classes.
(Inherited from BaseProperty.) | |
| DateTimeFormatHasTimePart |
Returns true if the DateTime format has a Time part.
| |
| DateTimeFormatHasTimePart(DateTimeFormat) |
Returns true if the provided DateTime format has a Time part.
| |
| FormatValue(Object) | (Inherited from BaseProperty.) | |
| FormatValue(Object, Boolean) | (Inherited from BaseProperty.) | |
| FormatValue(Object, AppFormatInfo, Boolean) |
Formats a value to a string using the property's settings.
(Overrides BasePropertyFormatValue(Object, AppFormatInfo, Boolean).) | |
| GetPropertyTypeString | (Inherited from BaseProperty.) | |
| GetValidControlType | ||
| GetValidNumericFormat | ||
| GetWidthFactor |
Returns a number between 1 and 5.
The number is used in views and indicates a relative width of the field.
1 = very narrow, 2 = narrow, 3 = normal, 4 = wide, 5 = very wide.
(Overrides BasePropertyGetWidthFactor.) | |
| IsValidControlType | ||
| IsValidNumericFormat | ||
| IsValuePropertyWithDataType | ||
| PassesFilter | (Inherited from BaseProperty.) | |
| ResetAll |
Resets the object id and other fields.
The method is used when a new property is created as a copy of another object.
(Overrides BasePropertyResetAll.) | |
| SetControlType | (Inherited from BaseProperty.) | |
| SetId | (Inherited from BaseProperty.) | |
| SupportsChangeEventHandler |
Returns true if the property supports onchange browsereventhandler association.
(Inherited from BaseProperty.) | |
| ToString | (Inherited from BaseProperty.) | |
| ToString(AppFormatInfo) | (Inherited from BaseProperty.) | |
| ValidatePropertyName |
Return true if the property name contains illegal character(s).
The following characters will be regarded as illegal characters:
\ ; | =[ ]| * ¤
(Inherited from BaseProperty.) |
| Name | Description | |
|---|---|---|
| ConvertObjectToPropType |
Converts object to the property type.
(Defined by ValuePropertyExtensions.) | |
| ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) | |
| ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) | |
| ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |
| Name | Description | |
|---|---|---|
| IObjectWithDataVersion.GetDataVersion | (Inherited from BaseProperty.) | |
| IObjectWithGuid.GetGuid | (Inherited from BaseProperty.) | |
| IObjectWithId.GetId | (Inherited from BaseProperty.) |