Interface IValueWatcher
Value watchers are responsible for not only providing value/error but are able to set current value in some cases
Inherited Members
Namespace: PoeShared.Bindings
Assembly: PoeShared.dll
Syntax
public interface IValueWatcher : IValueProvider, IDisposable, INotifyPropertyChanged
Properties
Name | Description |
---|---|
CanSetValue | True if is is possible to set current value, requires SupportsSetValue and Source to be non-null |
Source | |
SupportsSetValue | True if this value watcher knows how to set current Value |
Methods
Name | Description |
---|---|
SetCurrentValue(object) | Attempts to set current value, should throw only in extreme cases (e.g. misconfiguration), otherwise sets Error |
Extension Methods
NotifyPropertyChangedExtensions.GetPropertyName<TObject, T1>(TObject, Expression<Func<TObject, T1>>)