aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/MenuItem.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-12-07 04:32:57 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-12-07 04:32:57 +0100
commitfd3cf7597b2c3084c41993fe2043a484466c4fa9 (patch)
tree7e5ccf6829bf555eb4720a5c7593237caaa0ac5c /src/GraphicObjects/MenuItem.cs
parentd8e417769988c76a7ebe9adc85c929e815583683 (diff)
debug for netcore standards 2
Diffstat (limited to 'src/GraphicObjects/MenuItem.cs')
-rw-r--r--src/GraphicObjects/MenuItem.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/GraphicObjects/MenuItem.cs b/src/GraphicObjects/MenuItem.cs
index 3b25a9fe..a9e164d5 100644
--- a/src/GraphicObjects/MenuItem.cs
+++ b/src/GraphicObjects/MenuItem.cs
@@ -85,17 +85,17 @@ namespace Crow
NotifyValueChanged ("Command", command);
}
}
- [XmlAttributeAttribute]
+
public override bool IsEnabled {
get { return Command == null ? base.IsEnabled : Command.CanExecute; }
set { base.IsEnabled = value; }
}
- [XmlAttributeAttribute]
+
public override string Caption {
get { return Command == null ? base.Caption : Command.Caption; }
set { base.Caption = value; }
}
- [XmlAttributeAttribute]
+
public Picture Icon {
get { return Command == null ? icon : Command.Icon;; }
set {
@@ -106,7 +106,7 @@ namespace Crow
NotifyValueChanged ("Icon", icon);
}
}
- [XmlAttributeAttribute()][DefaultValue("Fit")]
+ [DefaultValue("Fit")]
public virtual Measure PopWidth {
get { return popWidth; }
set {
@@ -116,7 +116,7 @@ namespace Crow
NotifyValueChanged ("PopWidth", popWidth);
}
}
- [XmlAttributeAttribute()][DefaultValue("Fit")]
+ [DefaultValue("Fit")]
public virtual Measure PopHeight {
get { return popHeight; }
set {