From f227139ae8e3c7c7d585cf4f560bd87f8406ddc8 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Mon, 29 Feb 2016 10:44:18 +0100 Subject: [PATCH] code clean --- src/GraphicObjects/TemplatedControl.cs | 25 ------------------------- 1 file changed, 25 deletions(-) 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 -- 2.47.3