]> O.S.I.I.S - jp/crow.git/commitdiff
Children as property
authorjpbruyere <jp.bruyere@hotmail.com>
Sun, 13 Sep 2015 09:38:16 +0000 (11:38 +0200)
committerjpbruyere <jp.bruyere@hotmail.com>
Sun, 13 Sep 2015 09:38:16 +0000 (11:38 +0200)
src/GraphicObjects/Group.cs

index 18b0045341089e0e8c52cf9bf5699a1e80e76ca7..d9e35aa8eafa110f2639371565237c00261f6377 100644 (file)
@@ -20,10 +20,16 @@ namespace go
                #endregion\r
 \r
         bool _multiSelect = false;\r
+               List<GraphicObject> children = new List<GraphicObject>();\r
 \r
         public GraphicObject activeWidget;\r
-        public List<GraphicObject> Children = new List<GraphicObject>();\r
 \r
+        public virtual List<GraphicObject> Children {\r
+                       get { return children; }\r
+                       set { \r
+                               children = value; \r
+                       }\r
+               }\r
                [XmlAttributeAttribute()][DefaultValue(false)]\r
         public bool MultiSelect\r
         {\r