Fix build error
authorANZ1217 <chihun.jeong@samsung.com>
Fri, 10 May 2024 09:24:29 +0000 (18:24 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Fri, 10 May 2024 11:04:32 +0000 (20:04 +0900)
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabelBindableProperty.cs

index 26f02fd..cfd872f 100755 (executable)
@@ -2436,11 +2436,11 @@ namespace Tizen.NUI.BaseComponents
         {
             get
             {
-                return (bool)GetValue(Cutout);
+                return (bool)GetValue(CutoutProperty);
             }
             set
             {
-                SetValue(Cutout, value);
+                SetValue(CutoutProperty, value);
                 NotifyPropertyChanged();
             }
         }
index 65069d3..1a0842e 100755 (executable)
@@ -935,20 +935,20 @@ namespace Tizen.NUI.BaseComponents
         /// CutoutProperty
         /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public static readonly BindableProperty CutoutProperty = BindableProperty.Create(nameof(Cutout), typeof(bool), typeof(TextLabel), false, propertyChanged: (bindable, oldValue, newValue) =>
+        public static readonly BindableProperty CutoutProperty = BindableProperty.Create(nameof(Cutout), typeof(bool), typeof(TextLabel), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
         {
-            var instance = (Tizen.NUI.BaseComponents.TextLabel)bindable;
+            var textLabel = (TextLabel)bindable;
             if (newValue != null)
             {
                 Object.InternalSetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.Cutout, (bool)newValue);
             }
-        },
-        defaultValueCreator: (bindable) =>
+        }),
+        defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
         {
             var textLabel = (TextLabel)bindable;
 
             return Object.InternalGetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.Cutout);
-        });
+        }));
 
         internal Selector<string> TranslatableTextSelector
         {