diff options
Diffstat (limited to 'src/GraphicObjects/TemplatedContainer.cs')
| -rw-r--r-- | src/GraphicObjects/TemplatedContainer.cs | 11 |
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) |