aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TemplatedControl.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-10-13 16:57:26 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-10-13 16:57:26 +0200
commit6bedf8d5d0b78ba0705e37375d8dee016e87ebbb (patch)
tree4dabb643902d9ed30d185f9356bc3a17115011f8 /src/GraphicObjects/TemplatedControl.cs
parent97536ca0666ce95a598569afbaa8657e54e48439 (diff)
- GraphicTree parsing bindings in templates instead of using
datasource which could be kept for other uses - ListBox bindings debug - LogicalParent for Popper to get correct DataSource for content
Diffstat (limited to 'src/GraphicObjects/TemplatedControl.cs')
-rw-r--r--src/GraphicObjects/TemplatedControl.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GraphicObjects/TemplatedControl.cs b/src/GraphicObjects/TemplatedControl.cs
index e203c0cf..d6c7243d 100644
--- a/src/GraphicObjects/TemplatedControl.cs
+++ b/src/GraphicObjects/TemplatedControl.cs
@@ -115,7 +115,8 @@ namespace go
{
if (template == null) {
DefaultTemplate dt = (DefaultTemplate)this.GetType ().GetCustomAttributes (typeof(DefaultTemplate), true).FirstOrDefault();
- this.SetChild (Interface.Load (dt.Path, this,!Interface.DontResoveGOML));
+ this.SetChild (Interface.Load (dt.Path, this));
+ this.child.ResolveBindings ();
}else
this.SetChild (template);
}