Added ability for commands to be checked

This commit is contained in:
Michael Becker 2014-06-30 07:11:29 -04:00
parent e7f72dab74
commit 8de4990eac

View File

@ -21,7 +21,13 @@ namespace UniversalEditor.UserInterface
}
private bool mvarEnableTearoff = false;
public bool EnableTearoff { get { return mvarEnableTearoff; } set { mvarEnableTearoff = value; } }
public bool EnableTearoff { get { return mvarEnableTearoff; } set { mvarEnableTearoff = value; } }
private bool mvarChecked = false;
/// <summary>
/// Determines whether this command displays as checked.
/// </summary>
public bool Checked { get { return mvarChecked; } set { mvarChecked = value; } }
private string mvarID = String.Empty;
/// <summary>
@ -72,6 +78,6 @@ namespace UniversalEditor.UserInterface
{
if (Executed != null) Executed(this, EventArgs.Empty);
}
}
}
}