Interface IBindableReactiveObject
Represents an object that supports binding with reactive properties and objects.
Namespace: PoeShared.Bindings
Assembly: PoeShared.dll
Syntax
public interface IBindableReactiveObject : IDisposable, INotifyPropertyChanged
Properties
Name | Description |
---|---|
Bindings | Gets a cache of reactive bindings, indexed by their target property paths. |
HasBindings | Indicates whether the object has any bindings. |
SessionObjectId | Gets the unique identifier of the object that is unique amongst all BindableReactiveObjects for app lifetime |
Methods
Name | Description |
---|---|
AddOrUpdateBinding(IReactiveBinding) | Adds or updates a binding. |
AddOrUpdateBinding(IValueProvider, string) | Adds or updates a binding between a target property and a value provider. |
AddOrUpdateBinding<TSource>(string, TSource, string) | Adds or updates a binding between a target property and a source property of a given source object. |
ClearBindings() | Clears all bindings from the object. |
RemoveBinding(IReactiveBinding) | Removes the specified binding from the object. |
RemoveBinding(string) | Removes a binding based on the target property path. |
ResolveBinding(string) | Resolves a binding for a given property path. |
Extension Methods
NotifyPropertyChangedExtensions.GetPropertyName<TObject, T1>(TObject, Expression<Func<TObject, T1>>)