aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Command.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Command.cs')
-rw-r--r--src/Command.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Command.cs b/src/Command.cs
index ba95acc9..5d5f85e4 100644
--- a/src/Command.cs
+++ b/src/Command.cs
@@ -64,7 +64,7 @@ namespace Crow
/// <summary>
/// if true, action defined in this command may be executed,
/// </summary>
- [XmlAttributeAttribute][DefaultValue(true)]
+ [DefaultValue(true)]
public virtual bool CanExecute {
get { return canExecute; }
set {
@@ -77,7 +77,7 @@ namespace Crow
/// <summary>
/// label to display in the bound control
/// </summary>
- [XmlAttributeAttribute][DefaultValue("Unamed Command")]
+ [DefaultValue("Unamed Command")]
public virtual string Caption {
get { return caption; }
set {
@@ -91,7 +91,7 @@ namespace Crow
/// <summary>
/// Icon to display in the bound control
/// </summary>
- [XmlAttributeAttribute]
+
public Picture Icon {
get { return icon; }
set {