Added ability for commands to be checked
This commit is contained in:
parent
e7f72dab74
commit
8de4990eac
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user