aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Button.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GraphicObjects/Button.cs')
-rw-r--r--src/GraphicObjects/Button.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/GraphicObjects/Button.cs b/src/GraphicObjects/Button.cs
index 92238e69..59762182 100644
--- a/src/GraphicObjects/Button.cs
+++ b/src/GraphicObjects/Button.cs
@@ -12,7 +12,6 @@ using System.ComponentModel;
namespace Crow
{
- [DefaultTemplate("#Crow.Templates.Button.crow")]
public class Button : TemplatedContainer
{
string caption;
@@ -74,7 +73,7 @@ namespace Crow
}
#endregion
- [XmlAttributeAttribute()][DefaultValue("Button")]
+ [XmlAttributeAttribute][DefaultValue("Button")]
public string Caption {
get { return caption; }
set {
@@ -84,7 +83,7 @@ namespace Crow
NotifyValueChanged ("Caption", caption);
}
}
- [XmlAttributeAttribute()][DefaultValue("#Crow.Images.button.svg")]
+ [XmlAttributeAttribute][DefaultValue("#Crow.Images.button.svg")]
public string Image {
get { return image; }
set {
@@ -94,7 +93,7 @@ namespace Crow
NotifyValueChanged ("Image", image);
}
}
- [XmlAttributeAttribute()][DefaultValue(false)]
+ [XmlAttributeAttribute][DefaultValue(false)]
public bool IsPressed
{
get { return isPressed; }