Table of Contents

Class ChangeDataBindingEnabled

Namespace
Artemis.UI.Shared.Services.ProfileEditor.Commands
Assembly
Artemis.UI.Shared.dll

Represents a profile editor command that can be used to enable or disable data bindings on a layer property.

public class ChangeDataBindingEnabled : IProfileEditorCommand
Inheritance
object
ChangeDataBindingEnabled
Implements

Constructors

ChangeDataBindingEnabled(ILayerProperty, bool)

Creates a new instance of the ChangeDataBindingEnabled class.

public ChangeDataBindingEnabled(ILayerProperty layerProperty, bool enabled)

Parameters

layerProperty ILayerProperty

The layer property to enable or disable data bindings on.

enabled bool

Whether to enable or disable data bindings.

Properties

DisplayName

Gets the name of the command

public string DisplayName { get; }

Property Value

string

Methods

Execute()

Executes the command

public void Execute()

Undo()

Undoes the command

public void Undo()