Class ChangeDataBindingEnabled
Represents a profile editor command that can be used to enable or disable data bindings on a layer property.
public class ChangeDataBindingEnabled : IProfileEditorCommand
- Inheritance
-
objectChangeDataBindingEnabled
- Implements
Constructors
ChangeDataBindingEnabled(ILayerProperty, bool)
Creates a new instance of the ChangeDataBindingEnabled class.
public ChangeDataBindingEnabled(ILayerProperty layerProperty, bool enabled)
Parameters
layerPropertyILayerPropertyThe layer property to enable or disable data bindings on.
enabledboolWhether to enable or disable data bindings.
Properties
DisplayName
Gets the name of the command
public string DisplayName { get; }
Property Value
Methods
Execute()
Executes the command
public void Execute()
Undo()
Undoes the command
public void Undo()