[NUI]First use own bindingcontext
authorXianbing Teng <xb.teng@samsung.com>
Fri, 27 May 2022 13:40:18 +0000 (21:40 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 2 Jun 2022 09:14:59 +0000 (18:14 +0900)
src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs

index c7832dd..f00536b 100755 (executable)
@@ -54,7 +54,7 @@ namespace Tizen.NUI.Binding
         [EditorBrowsable(EditorBrowsableState.Never)]
         public object BindingContext
         {
-            get { return inheritedContext ?? GetValue(BindingContextProperty); }
+            get { return GetValue(BindingContextProperty) ?? inheritedContext; }
             set { SetValue(BindingContextProperty, value); }
         }