namespace Core.Common.Controls
{
///
/// Abstract class that can be derivied for defining the behaviour of (Ribbon) buttons and/or menu items.
///
public abstract class Command
{
///
/// Gets whether or not the is enabled.
///
public abstract bool Enabled { get; }
///
/// Gets whether or not the is checked.
///
public abstract bool Checked { get; }
///
/// This method implements the logic that should be performed after clicking the (Ribbon) button and/or menu item.
///
public abstract void Execute(params object[] arguments);
}
}