From 97f38c6d364786faf51de9c07ee887ce437dee1e Mon Sep 17 00:00:00 2001 From: "dongsug.song" Date: Wed, 14 Apr 2021 18:34:09 +0900 Subject: [PATCH] [NUI] Deprecate BaseHandle.PropertySet and Add BindableProperty.PropertyChanged --- src/Tizen.NUI/src/public/Common/BaseHandle.cs | 2 ++ src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Tizen.NUI/src/public/Common/BaseHandle.cs b/src/Tizen.NUI/src/public/Common/BaseHandle.cs index aa4294e..f68edba 100755 --- a/src/Tizen.NUI/src/public/Common/BaseHandle.cs +++ b/src/Tizen.NUI/src/public/Common/BaseHandle.cs @@ -115,6 +115,8 @@ namespace Tizen.NUI /// Event when a property is set. /// /// 5 + /// + [Obsolete("Deprecated in API9, Will be removed in API11, Please use BindableObject.PropertyChanged instead!")] public event PropertyChangedEventHandler PropertySet; internal global::System.Runtime.InteropServices.HandleRef GetBaseHandleCPtrHandleRef diff --git a/src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs b/src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs index 6e393d4..813c8cb 100755 --- a/src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs +++ b/src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs @@ -26,9 +26,9 @@ using Tizen.NUI.Binding.Internals; namespace Tizen.NUI.Binding { /// - /// Provides a mechanism by which application developers can propagate changes that are made to data in one object to another, by enabling validation, type coercion, and an event system. + /// Provides a mechanism by which application developers can propagate changes that are made to data in one object to another. /// - [EditorBrowsable(EditorBrowsableState.Never)] + /// 9 public abstract class BindableObject : INotifyPropertyChanged, IDynamicResourceHandler { /// @@ -63,8 +63,7 @@ namespace Tizen.NUI.Binding /// /// Raised when a property has changed. /// - /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API. - [EditorBrowsable(EditorBrowsableState.Never)] + /// 9 public event PropertyChangedEventHandler PropertyChanged; /// Copy properties of other ViewStyle to this. -- 2.7.4