diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-25 11:52:35 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-25 11:52:35 +0100 |
| commit | 54ff9d82e0d195bc335916b8a30a27651f830502 (patch) | |
| tree | d950855da5376bc8bf3f079c8000dd192f39bc41 /src/GraphicObjects/GroupBox.cs | |
| parent | dd6682973fa16921b7ebaf5faa416290c3211c63 (diff) | |
DefaultStyle attribute, loaded in defvalues
Diffstat (limited to 'src/GraphicObjects/GroupBox.cs')
| -rw-r--r-- | src/GraphicObjects/GroupBox.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/GraphicObjects/GroupBox.cs b/src/GraphicObjects/GroupBox.cs index e3001663..86c659d0 100644 --- a/src/GraphicObjects/GroupBox.cs +++ b/src/GraphicObjects/GroupBox.cs @@ -4,6 +4,7 @@ using System.ComponentModel; namespace Crow { + [DefaultStyle("#Crow.Styles.GroupBox.style")] [DefaultTemplate("#Crow.Templates.GroupBox.goml")] public class GroupBox : TemplatedContainer { @@ -31,15 +32,6 @@ namespace Crow } #endregion - #region GraphicObject overrides - [XmlAttributeAttribute()][DefaultValue(true)]//overiden to get default to true - public override bool Focusable - { - get { return base.Focusable; } - set { base.Focusable = value; } - } - #endregion - [XmlAttributeAttribute()][DefaultValue("Groupbox")] public string Caption { get { return caption; } |