Table of Contents

Interface IDataBinding

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

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

ILayerProperty

IsEnabled

Gets a boolean indicating whether the data binding is enabled or not

bool IsEnabled { get; set; }

Property Value

bool

Properties

Gets a list of sub-properties this data binding applies to

ReadOnlyCollection<IDataBindingProperty> Properties { get; }

Property Value

ReadOnlyCollection<IDataBindingProperty>

Script

Gets the script used to populate the data binding

INodeScript Script { get; }

Property Value

INodeScript

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

EventHandler<DataBindingEventArgs>

DataBindingEnabled

Occurs when a data binding has been enabled

event EventHandler<DataBindingEventArgs>? DataBindingEnabled

Event Type

EventHandler<DataBindingEventArgs>

DataBindingPropertiesCleared

Occurs when all data binding properties have been removed

event EventHandler<DataBindingEventArgs>? DataBindingPropertiesCleared

Event Type

EventHandler<DataBindingEventArgs>

DataBindingPropertyRegistered

Occurs when a data binding property has been added

event EventHandler<DataBindingEventArgs>? DataBindingPropertyRegistered

Event Type

EventHandler<DataBindingEventArgs>