diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-14 12:30:20 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-14 12:30:20 +0200 |
| commit | 42d9e260840d46ab9d960ae45d71dc47a03fb6cf (patch) | |
| tree | faa408edb9857300146ac3666aefd8f0ae60d2f7 /src/GraphicObjects/Group.cs | |
| parent | 4161571104964c0d309b338595e497b78eb54cda (diff) | |
Clear Bindings when GraphicObject is destroyed
Diffstat (limited to 'src/GraphicObjects/Group.cs')
| -rw-r--r-- | src/GraphicObjects/Group.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/GraphicObjects/Group.cs b/src/GraphicObjects/Group.cs index d9e35aa8..87a9ee5c 100644 --- a/src/GraphicObjects/Group.cs +++ b/src/GraphicObjects/Group.cs @@ -278,5 +278,11 @@ namespace go }
#endregion
+
+ public override void ClearBinding(){
+ foreach (GraphicObject c in children)
+ c.ClearBinding ();
+ base.ClearBinding ();
+ }
}
}
|