From 8245aaf1bde698a29f95b8e9a61bbd6f619151d8 Mon Sep 17 00:00:00 2001 From: Bowon Ryu Date: Fri, 10 Sep 2021 16:31:18 +0900 Subject: [PATCH] [NUI] Change SelectedTextStart, SelectedTextEnd to read-only The setter of this properties can be replaced with the SelectText(int start, int end) method. Signed-off-by: Bowon Ryu --- src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs | 10 ---------- src/Tizen.NUI/src/public/BaseComponents/TextField.cs | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs index aac7d7b..b451a4d 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs @@ -1389,11 +1389,6 @@ namespace Tizen.NUI.BaseComponents GetProperty(TextEditor.Property.SelectedTextStart).Get(out temp); return temp; } - set - { - SetProperty(TextEditor.Property.SelectedTextStart, new PropertyValue(value)); - NotifyPropertyChanged(); - } } /// @@ -1410,11 +1405,6 @@ namespace Tizen.NUI.BaseComponents GetProperty(TextEditor.Property.SelectedTextEnd).Get(out temp); return temp; } - set - { - SetProperty(TextEditor.Property.SelectedTextEnd, new PropertyValue(value)); - NotifyPropertyChanged(); - } } /// diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextField.cs b/src/Tizen.NUI/src/public/BaseComponents/TextField.cs index 3724b2c..64db893 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextField.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextField.cs @@ -1603,11 +1603,6 @@ namespace Tizen.NUI.BaseComponents GetProperty(TextField.Property.SelectedTextStart).Get(out temp); return temp; } - set - { - SetProperty(TextField.Property.SelectedTextStart, new PropertyValue(value)); - NotifyPropertyChanged(); - } } /// @@ -1624,11 +1619,6 @@ namespace Tizen.NUI.BaseComponents GetProperty(TextField.Property.SelectedTextEnd).Get(out temp); return temp; } - set - { - SetProperty(TextField.Property.SelectedTextEnd, new PropertyValue(value)); - NotifyPropertyChanged(); - } } /// -- 2.7.4