From cfb314bd4fe70c83f43bb254bcc1bdb54b2dc827 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Tue, 31 Jan 2017 15:58:52 +0100 Subject: move recurrent 'Caption' property in Templated Control --- src/GraphicObjects/Button.cs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/GraphicObjects/Button.cs') diff --git a/src/GraphicObjects/Button.cs b/src/GraphicObjects/Button.cs index c73062f0..8fc7a1ad 100644 --- a/src/GraphicObjects/Button.cs +++ b/src/GraphicObjects/Button.cs @@ -14,7 +14,6 @@ namespace Crow { public class Button : TemplatedContainer { - string caption; string image; bool isPressed; Container _contentContainer; @@ -66,16 +65,6 @@ namespace Crow } #endregion - [XmlAttributeAttribute][DefaultValue("Button")] - public string Caption { - get { return caption; } - set { - if (caption == value) - return; - caption = value; - NotifyValueChanged ("Caption", caption); - } - } [XmlAttributeAttribute][DefaultValue("#Crow.Images.button.svg")] public string Image { get { return image; } -- cgit v1.3.1-4-g156e