C++ C#

ValueProperty Class

API Reference

Namespace: Semata.DataStore.ObjectModel

Non generic base classed, useful when iterating over properties.

public ref class ValueProperty : public 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.

This website stores cookies on your computer that are used to manage the order in which you see the pages. To find out more about the cookies we use, see our Privacy Policy.