[NUI][Xaml]Fix issue of Call SetBinding in C# code
authorFang Xiaohui <xiaohui.fang@samsung.com>
Tue, 22 Mar 2022 07:49:13 +0000 (15:49 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 27 Apr 2022 02:44:42 +0000 (11:44 +0900)
src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs

index bb0f161..7897d25 100755 (executable)
@@ -272,7 +272,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));