SetProperty Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class SetProperty : BaseProperty, IComparable
The SetProperty type exposes the following members.
Name | Description | |
---|---|---|
![]() | SetProperty |
Name | Description | |
---|---|---|
![]() | AllowsMultipleValues |
Does the property allow/support multiple values?
(Inherited from BaseProperty.) |
![]() | ChangedBy | (Inherited from BaseProperty.) |
![]() | ChangeTime | (Inherited from BaseProperty.) |
![]() | ConfigLockFlags | (Inherited from BaseProperty.) |
![]() | ControlType | (Inherited from BaseProperty.) |
![]() | CreatedBy | (Inherited from BaseProperty.) |
![]() | CreateTime | (Inherited from BaseProperty.) |
![]() | DataVersion | (Inherited from BaseProperty.) |
![]() | Deleted | (Inherited from BaseProperty.) |
![]() | Description | (Inherited from BaseProperty.) |
![]() | HideUndefined |
Returns true of it must be possible to re-select the value "Please select a value"
if another value has already been selected.
Only in effect if the control is a dropdown.
|
![]() | Id | (Inherited from BaseProperty.) |
![]() | MultipleValues | |
![]() | Name | (Inherited from BaseProperty.) |
![]() | Number | (Inherited from BaseProperty.) |
![]() | PropertyType | (Inherited from BaseProperty.) |
![]() | RepeatDirection |
Only used if ControlType in [Radio, Checkbox].
|
![]() | SecurityDefined |
Returns true of security has been defined for the property.
Use the CheckSecurity() method to test of a user has access to the property.
(Inherited from BaseProperty.) |
![]() | SecurityGroups |
Contains Users and UserGroup which have access to the property.
Can be null.
Use the CheckSecurity() method to test of a user has access to the property.
(Inherited from BaseProperty.) |
![]() | System | (Inherited from BaseProperty.) |
![]() | SystemName | (Inherited from BaseProperty.) |
![]() | UId | (Inherited from BaseProperty.) |
![]() | Values |
SetPropertyValues are and must be sorted by VOrder.
The SetPropertyValues collection is "protected" so its not possible to change sorting etc.
|
Name | Description | |
---|---|---|
![]() | AddNewPropertyValue |
Adds a new (empty) property value.
Set the property value's vorder to max. of all non-deleted property values.
|
![]() | AddPropertyValue |
Adds a propertyvalue object to the setproperty.
|
![]() | AddPropertyValues |
Adds a list of propertyvalue objects to the setproperty.
|
![]() | CheckSecurity | (Inherited from BaseProperty.) |
![]() | Clone | (Overrides BasePropertyClone.) |
![]() | CloneProperty |
Clones the property and resets all relevant ID's
(Inherited from BaseProperty.) |
![]() | CompareItems |
Compares the collection of SetPropertyValue objects in two properties.
It returns a collection of SetPropertyValue objects which differ between the two property objects.
|
![]() | CompareTo | (Overrides BasePropertyCompareTo(Object).) |
![]() | CopyTo |
Called from impl. of Clone in sub classes.
(Inherited from BaseProperty.) |
![]() | 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.) |
![]() | 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.) |
![]() | 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 | (Overrides BasePropertySetControlType(PropertyControlType).) |
![]() | SetId | (Overrides BasePropertySetId(Int32).) |
![]() | SetValueDeleted(SetPropertyValue, Boolean) | |
![]() | SetValueDeleted(SetPropertyValue, Boolean, Boolean) |
Sets the deleted flag for the value object
|
![]() | SetValueVOrder(SetPropertyValue, Int32) | |
![]() | SetValueVOrder(SetPropertyValue, Int32, Boolean) |
Set the vorder for the values of the property
|
![]() | 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 | |
---|---|---|
![]() | 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.) |
![]() ![]() | IEntityObjectDataVersion |
The data version of an entity object is incremented every time it gets updated.
If the entity object class embeds other objects (like a DataObjectType embeds a number of BaseProperty objects)
then the DataVersion is also "touched" when an embedded object changes.
(Inherited from BaseProperty.) |
![]() ![]() | IEntityObjectId |
Unique id of the entity object within its entity type.
(Inherited from BaseProperty.) |