From: jpbruyere Date: Mon, 29 Feb 2016 09:44:18 +0000 (+0100) Subject: code clean X-Git-Tag: v0.4~99 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=f227139ae8e3c7c7d585cf4f560bd87f8406ddc8;p=jp%2Fcrow.git code clean --- diff --git a/src/GraphicObjects/TemplatedControl.cs b/src/GraphicObjects/TemplatedControl.cs index f09d10aa..ad7c74fe 100644 --- a/src/GraphicObjects/TemplatedControl.cs +++ b/src/GraphicObjects/TemplatedControl.cs @@ -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