Namespace: Semata.DataStore.ObjectModel
Non generic base classed, useful when iterating over properties.
public class ValueProperty : INotifyPropertyChanged
Implements: INotifyPropertyChanged
Properties
Name | Description |
IsChanged |
Returns true if the value has been changed |
ItemObject |
The ItemObject that the property belongs to. |
Name |
The name of the property. |
RawValue |
The value that has been set. It will only equal Value if it is valid. |
Required |
True if a value is required |
StoredValue |
The stored value. It will equal Value if that has not been changed that is valid. |
Unique |
True if any value needs to be unique |
Value |
The current value. It will equal either the StoredValue, or a valid value to which it has been changed. |
void |
Raises event PropertyChanged |
Methods
Name | Description |
CancelEdit() |
Cancel any changes to the value |
CheckValueSet(string) |
Adds an error if the value is not null, or if a string not empty. |