[NUI][Xaml] Fix issue of call SetBinding in c# code
authorXianbing Teng <xb.teng@samsung.com>
Wed, 23 Mar 2022 00:13:19 +0000 (08:13 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 29 Mar 2022 03:10:12 +0000 (12:10 +0900)
src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs

index 90b709b..bc28a62 100755 (executable)
@@ -342,7 +342,7 @@ namespace Tizen.NUI.Binding
             if (property == null)
                 throw new ArgumentNullException(nameof(property));
 
-            if (true == isCreateByXaml)
+            if (true == IsBinded)
             {
                 if (property.IsReadOnly)
                     throw new InvalidOperationException(string.Format("The BindableProperty \"{0}\" is readonly.", property.PropertyName));