]> O.S.I.I.S - jp/crow.git/commitdiff
code clean
authorjpbruyere <jp.bruyere@hotmail.com>
Mon, 29 Feb 2016 09:44:18 +0000 (10:44 +0100)
committerjpbruyere <jp.bruyere@hotmail.com>
Mon, 29 Feb 2016 09:44:18 +0000 (10:44 +0100)
src/GraphicObjects/TemplatedControl.cs

index f09d10aa721ed5c1d4c9f91352f592dbf3100104..ad7c74fe9e8ff8ebdd33e6623d165eb7e397463a 100644 (file)
@@ -77,31 +77,6 @@ namespace Crow
                }
 
                #region GraphicObject overrides
-//             [XmlAttributeAttribute()][DefaultValue(-1)]
-//             public override int Width {
-//                     get { return base.Width; }
-//                     set { 
-//                             base.Width = value; 
-//                             //PropertyLess binding for sizing policy in template
-//                             if (base.Width < 1) //send size policy to template elements
-//                                     NotifyValueChanged ("TemplatedWidth", base.Width);
-//                             else //stretched in control if size is fixed
-//                                     NotifyValueChanged ("TemplatedWidth", 0);
-//                     }
-//             }
-//             [XmlAttributeAttribute()][DefaultValue(-1)]
-//             public override int Height {
-//                     get { return base.Height; }
-//                     set { 
-//                             base.Height = value; 
-//
-//                             //PropertyLess binding for sizing policy in template
-//                             if (base.Height < 1) //send size policy to template elements
-//                                     NotifyValueChanged ("TemplatedHeight", base.Height);
-//                             else //stretched in control if size is fixed
-//                                     NotifyValueChanged ("TemplatedHeight", 0);
-//                     }
-//             }
                public override GraphicObject FindByName (string nameToFind)
                {
                        //prevent name searching in template