Interface IDataBinding
Represents a data binding that binds a certain LayerProperty<T> to a value inside a DataModel
public interface IDataBinding : IStorageModel, IDisposable, IPluginFeatureDependent
- Inherited Members
Properties
BaseLayerProperty
Gets the layer property the data binding is applied to
ILayerProperty BaseLayerProperty { get; }
Property Value
IsEnabled
Gets a boolean indicating whether the data binding is enabled or not
bool IsEnabled { get; set; }
Property Value
Properties
Gets a list of sub-properties this data binding applies to
ReadOnlyCollection<IDataBindingProperty> Properties { get; }
Property Value
Script
Gets the script used to populate the data binding
INodeScript Script { get; }
Property Value
Methods
Apply()
Applies the pending value of the data binding to the property
void Apply()
LoadNodeScript()
If the data binding is enabled, loads the node script for that data binding
void LoadNodeScript()
Events
DataBindingDisabled
Occurs when a data binding has been disabled
event EventHandler<DataBindingEventArgs>? DataBindingDisabled
Event Type
DataBindingEnabled
Occurs when a data binding has been enabled
event EventHandler<DataBindingEventArgs>? DataBindingEnabled
Event Type
DataBindingPropertiesCleared
Occurs when all data binding properties have been removed
event EventHandler<DataBindingEventArgs>? DataBindingPropertiesCleared
Event Type
DataBindingPropertyRegistered
Occurs when a data binding property has been added
event EventHandler<DataBindingEventArgs>? DataBindingPropertyRegistered