Class ChangeElementDisplayCondition
Represents a profile editor command that can be used to change the display condition of a profile element.
public class ChangeElementDisplayCondition : IProfileEditorCommand, IDisposable
- Inheritance
-
objectChangeElementDisplayCondition
- Implements
Constructors
ChangeElementDisplayCondition(RenderProfileElement, ICondition)
Creates a new instance of the ChangeElementDisplayCondition class.
public ChangeElementDisplayCondition(RenderProfileElement profileElement, ICondition condition)
Parameters
profileElementRenderProfileElementThe render profile element whose display condition to change.
conditionIConditionThe new display condition.
Properties
DisplayName
Gets the name of the command
public string DisplayName { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Execute()
Executes the command
public void Execute()
Undo()
Undoes the command
public void Undo()