aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TemplatedContainer.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/TemplatedContainer.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/TemplatedContainer.cs')
-rw-r--r--src/GraphicObjects/TemplatedContainer.cs11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/GraphicObjects/TemplatedContainer.cs b/src/GraphicObjects/TemplatedContainer.cs
index dcea97d7..cef8266b 100644
--- a/src/GraphicObjects/TemplatedContainer.cs
+++ b/src/GraphicObjects/TemplatedContainer.cs
@@ -35,14 +35,17 @@ namespace go
#region GraphicObject overrides
public override void ClearBinding ()
{
- if (Content != null) {
- //fix datasource = null to clear bindings, but it's illogic
- Content.DataSource = this.DataSource;
+ if (Content != null)
Content.ClearBinding ();
- }
base.ClearBinding ();
}
+// public override void ResolveBindings ()
+// {
+// base.ResolveBindings ();
+// if (Content != null)
+// Content.ResolveBindings ();
+// }
public override GraphicObject FindByName (string nameToFind)
{
if (Name == nameToFind)