namespace RhythmBase.Events { /// /// Represents an action to set the visibility of a decoration. /// public class SetVisible : BaseDecorationAction { /// /// Initializes a new instance of the class. /// public SetVisible() { Type = EventType.SetVisible; Tab = Tabs.Decorations; } /// /// Gets the type of the event. /// public override EventType Type { get; } /// /// Gets the tab to which the event belongs. /// public override Tabs Tab { get; } /// /// Gets or sets a value indicating whether the decoration is visible. /// public bool Visible { get; set; } /// /// Returns a string that represents the current object. /// /// A string that represents the current object. public override string ToString() => base.ToString() + string.Format(" {0}", Visible); } }