diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2017-01-31 15:58:52 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2017-01-31 15:58:52 +0100 |
| commit | cfb314bd4fe70c83f43bb254bcc1bdb54b2dc827 (patch) | |
| tree | 87c1a868c22ad302325cd55a4468a042e1ba437b /src/GraphicObjects/GroupBox.cs | |
| parent | 177aa594f6a93d4c8c9ee38546f12851782cb838 (diff) | |
move recurrent 'Caption' property in Templated Control
Diffstat (limited to 'src/GraphicObjects/GroupBox.cs')
| -rw-r--r-- | src/GraphicObjects/GroupBox.cs | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/GraphicObjects/GroupBox.cs b/src/GraphicObjects/GroupBox.cs index db457282..34094703 100644 --- a/src/GraphicObjects/GroupBox.cs +++ b/src/GraphicObjects/GroupBox.cs @@ -26,12 +26,11 @@ using System.ComponentModel; namespace Crow { public class GroupBox : TemplatedContainer - { - string caption; + { Container _contentContainer; #region CTOR - public GroupBox() : base(){} + public GroupBox() : base(){} #endregion #region Template overrides @@ -50,16 +49,5 @@ namespace Crow _contentContainer = this.child.FindByName ("Content") as Container; } #endregion - - [XmlAttributeAttribute][DefaultValue("Groupbox")] - public string Caption { - get { return caption; } - set { - if (caption == value) - return; - caption = value; - NotifyValueChanged ("Caption", caption); - } - } } } |