From: Feng Jin Date: Tue, 2 May 2017 19:54:39 +0000 (+0800) Subject: Remove "SelectedStateImage","UnselectedStateImage" and "DisabledStateImage" property... X-Git-Tag: preview1-00180^2~282^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94bb18a2f9322ff348f881025d1c219f7e30614d;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Remove "SelectedStateImage","UnselectedStateImage" and "DisabledStateImage" property of Button. Change-Id: Idd59493611b6d10bbcb39c743ce829d81333b9f6 Signed-off-by: Feng Jin --- diff --git a/src/Tizen.NUI/src/public/UIComponents/Button.cs b/src/Tizen.NUI/src/public/UIComponents/Button.cs index f90ae13a1..bf5d35ea6 100755 --- a/src/Tizen.NUI/src/public/UIComponents/Button.cs +++ b/src/Tizen.NUI/src/public/UIComponents/Button.cs @@ -551,9 +551,6 @@ namespace Tizen.NUI.UIComponents internal static readonly int NEXT_AUTO_REPEATING_DELAY = NDalicPINVOKE.Button_Property_NEXT_AUTO_REPEATING_DELAY_get(); internal static readonly int TOGGLABLE = NDalicPINVOKE.Button_Property_TOGGLABLE_get(); internal static readonly int SELECTED = NDalicPINVOKE.Button_Property_SELECTED_get(); - internal static readonly int UNSELECTED_STATE_IMAGE = NDalicPINVOKE.Button_Property_UNSELECTED_STATE_IMAGE_get(); - internal static readonly int SELECTED_STATE_IMAGE = NDalicPINVOKE.Button_Property_SELECTED_STATE_IMAGE_get(); - internal static readonly int DISABLED_STATE_IMAGE = NDalicPINVOKE.Button_Property_DISABLED_STATE_IMAGE_get(); internal static readonly int UNSELECTED_COLOR = NDalicPINVOKE.Button_Property_UNSELECTED_COLOR_get(); internal static readonly int SELECTED_COLOR = NDalicPINVOKE.Button_Property_SELECTED_COLOR_get(); internal static readonly int LABEL = NDalicPINVOKE.Button_Property_LABEL_get(); @@ -824,57 +821,6 @@ namespace Tizen.NUI.UIComponents } } - /// - /// Gets/Sets the unselected button foreground image. - /// - public Tizen.NUI.PropertyMap UnselectedStateImage - { - get - { - Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap(); - GetProperty(Button.Property.UNSELECTED_STATE_IMAGE).Get(temp); - return temp; - } - set - { - SetProperty(Button.Property.UNSELECTED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value)); - } - } - - /// - /// Gets/Sets the selected button foreground image. - /// - public Tizen.NUI.PropertyMap SelectedStateImage - { - get - { - Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap(); - GetProperty(Button.Property.SELECTED_STATE_IMAGE).Get(temp); - return temp; - } - set - { - SetProperty(Button.Property.SELECTED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value)); - } - } - - /// - /// Gets/Sets the disabled whilst unselected foreground button visual. - /// - public Tizen.NUI.PropertyMap DisabledStateImage - { - get - { - Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap(); - GetProperty(Button.Property.DISABLED_STATE_IMAGE).Get(temp); - return temp; - } - set - { - SetProperty(Button.Property.DISABLED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value)); - } - } - /// /// Gets/Sets unselected color. ///