Interface IValue<T>
represents storage of or access to change-tracked data
public interface IValue<T> : IHasChanges, INotifyValueChanged
Type Parameters
T
- Inherited Members
- Extension Methods
Properties
HasValue
Indicates whether the underlying value of type T has a value
bool HasValue { get; }
Property Value
IsDefaulted
true if the data is a system default rather than user-entered
bool IsDefaulted { get; }
Property Value
Value
read/write underlying data
T Value { get; set; }
Property Value
- T
Methods
GetText()
A textual representation of the underlying value, rather than the IValue itself.
string GetText()
Returns
SetDefaulted()
clear any user-entered data and return to system defaults
void SetDefaulted()
ToString()
[Obsolete("Deprecated: Please use GetText() instead.")]
string ToString()