diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-12 17:17:05 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-12 17:17:05 +0200 |
| commit | 86acbb4902a25100a183da7ce9e7a5662de8b4cb (patch) | |
| tree | 6fb2b3897704267d3fdb5b260df51b29135577f2 /src/GraphicObjects/Button.cs | |
| parent | ed815a31113235890cf6c902c754fb3dc7536708 (diff) | |
default template searched in embedded resources with .template extension
Diffstat (limited to 'src/GraphicObjects/Button.cs')
| -rw-r--r-- | src/GraphicObjects/Button.cs | 7 |
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; } |