aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/GroupBox.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-25 11:52:35 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-25 11:52:35 +0100
commit54ff9d82e0d195bc335916b8a30a27651f830502 (patch)
treed950855da5376bc8bf3f079c8000dd192f39bc41 /src/GraphicObjects/GroupBox.cs
parentdd6682973fa16921b7ebaf5faa416290c3211c63 (diff)
DefaultStyle attribute, loaded in defvalues
Diffstat (limited to 'src/GraphicObjects/GroupBox.cs')
-rw-r--r--src/GraphicObjects/GroupBox.cs10
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; }