diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-26 09:12:26 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-26 09:12:26 +0100 |
| commit | 949d8d64ba625cc68dcb2c8a73560ce5e6aab107 (patch) | |
| tree | 8ab25f96996b119a3752ab5154ddebbea4e17c30 | |
| parent | 676857a2952b14744fdaaaf088a45b766d6bb9f3 (diff) | |
add LogicalParent null test for getDataSource
| -rw-r--r-- | src/GraphicObjects/GraphicObject.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs index be2bf0e7..d0219b15 100644 --- a/src/GraphicObjects/GraphicObject.cs +++ b/src/GraphicObjects/GraphicObject.cs @@ -434,7 +434,7 @@ namespace Crow this.ResolveBindings(); } get { - return dataSource == null ? + return dataSource == null ? LogicalParent == null ? null : (LogicalParent as GraphicObject).DataSource : dataSource; } } |