From: ANZ1217 Date: Fri, 10 May 2024 09:24:29 +0000 (+0900) Subject: Fix build error X-Git-Tag: accepted/tizen/8.0/unified/20240613.065534~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a533f47bee07f791c1ddc9dea75b984fa0b76239;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Fix build error --- diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs index 26f02fd..cfd872f 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs @@ -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(); } } diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextLabelBindableProperty.cs b/src/Tizen.NUI/src/public/BaseComponents/TextLabelBindableProperty.cs index 65069d3..1a0842e 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextLabelBindableProperty.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextLabelBindableProperty.cs @@ -935,20 +935,20 @@ namespace Tizen.NUI.BaseComponents /// CutoutProperty /// [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 TranslatableTextSelector {