aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/PrivateContainer.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-12-27 16:20:19 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-12-27 16:20:19 +0100
commit2b4455e6bf46809f699a3fcf1d51e8e99fbcf6f8 (patch)
tree142f5f765a01a2c469bb8bc814b3ed38bdfc2c4c /src/GraphicObjects/PrivateContainer.cs
parent66fb8b51703e2516a04504398d5ab7ed9af6840b (diff)
use LogicalParent in binding, debug Parenting and DS changes in several classes
Diffstat (limited to 'src/GraphicObjects/PrivateContainer.cs')
-rw-r--r--src/GraphicObjects/PrivateContainer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/PrivateContainer.cs b/src/GraphicObjects/PrivateContainer.cs
index 06f0c213..0afefeb9 100644
--- a/src/GraphicObjects/PrivateContainer.cs
+++ b/src/GraphicObjects/PrivateContainer.cs
@@ -80,9 +80,9 @@ namespace Crow
}
public override void OnDataSourceChanged (object sender, DataSourceChangeEventArgs e)
{
- base.OnDataSourceChanged (sender, e);
+ base.OnDataSourceChanged (this, e);
if (child != null)
- if (child.localDataSourceIsNull)
+ if (child.localDataSourceIsNull & child.localLogicalParentIsNull)
child.OnDataSourceChanged (sender, e);
}
public override bool UpdateLayout (LayoutingType layoutType)