From 72e79e446ad4871ff4214b3374e0c33dee7e3b57 Mon Sep 17 00:00:00 2001 From: Yeongjong Lee Date: Wed, 23 Dec 2020 11:25:58 +0900 Subject: [PATCH] [NUI] Add Obsolete Attribute for ControlStates enum `ControlStates` enum will be removed in API10. We can use `ControlState` class instead. --- src/Tizen.NUI/src/public/BaseComponents/Style/Constants.cs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/Tizen.NUI/src/public/BaseComponents/Style/Constants.cs b/src/Tizen.NUI/src/public/BaseComponents/Style/Constants.cs index f59cb57..b91d0b8 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/Style/Constants.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/Style/Constants.cs @@ -25,56 +25,49 @@ namespace Tizen.NUI.Components /// Enumeration for describing the states of the view. /// [FlagsAttribute] - /// This will be public opened later. Before ACR, need to be hidden as inhouse API. + // Please remove this enum when 'Tizen.NUI.BaseComponents.Button.StateChangedEventArgs' and 'Tizen.NUI.BaseComponents.Slider.StateChangedArgs' are removed. + [Obsolete("This will be removed in API10. Please use Tizen.NUI.BaseComponents.ControlState instead!")] [EditorBrowsable(EditorBrowsableState.Never)] public enum ControlStates { /// /// The normal state. /// - /// This will be public opened later. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] Normal = 0, /// /// The focused state. /// - /// This will be public opened later. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] Focused = 1, /// /// The disabled state. /// - /// This will be public opened later. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] Disabled = 2, /// /// The Selected state. /// - /// This will be public opened later. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] Selected = 4, /// /// The Pressed state. /// - /// This will be public opened later. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] Pressed = 8, /// /// The DisabledFocused state. /// - /// This will be public opened later. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] DisabledFocused = Disabled | Focused, /// /// The SelectedFocused state. /// - /// This will be public opened later. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] SelectedFocused = Focused | Selected, /// /// The DisabledSelected state. /// - /// This will be public opened later. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] DisabledSelected = Disabled | Selected, } -- 2.7.4