Remove FloatingButton.Click event
authorsung-su.kim <sung-su.kim@samsung.com>
Mon, 3 Jul 2017 01:17:26 +0000 (10:17 +0900)
committerSung-su Kim <sung-su.kim@samsung.com>
Tue, 4 Jul 2017 01:21:38 +0000 (01:21 +0000)
- FloatingButton does not provide click event

Change-Id: Iba5ba335d884378597261b1f93ecb40b27c5baef

src/ElmSharp/ElmSharp/FloatingButton.cs

index 37b157a..5252a1f 100755 (executable)
@@ -23,23 +23,15 @@ namespace ElmSharp
     /// </summary>
     public class FloatingButton : Layout
     {
-        SmartEvent _clicked;
         /// <summary>
         /// Creates and initializes a new instance of the FloatingButton class.
         /// </summary>
         /// <param name="parent">Created on this parent container..</param>
         public FloatingButton(EvasObject parent) : base(parent)
         {
-            _clicked = new SmartEvent(this, Handle, "clicked");
-            _clicked.On += (s, e) => Clicked?.Invoke(this, EventArgs.Empty);
         }
 
         /// <summary>
-        /// Clicked will be triggered when clicked
-        /// </summary>
-        public event EventHandler Clicked;
-
-        /// <summary>
         /// Sets or gets floatingbutton mode.
         /// </summary>
         public FloatingButtonMode Mode
@@ -128,6 +120,7 @@ namespace ElmSharp
         /// Allows all positions
         /// </summary>
         All,
+
         /// <summary>
         /// Allows LEFT and RIGHT positions only
         /// </summary>
@@ -143,18 +136,22 @@ namespace ElmSharp
         /// Hides in the left, but small handler will show only
         /// </summary>
         LeftOut,
+
         /// <summary>
         /// Shows all of buttons, but lies on the left
         /// </summary>
         Left,
+
         /// <summary>
         /// Shows all of buttons, but lies on the center
         /// </summary>
         Center,
+
         /// <summary>
         /// Shows all of buttons, but lies on the right
         /// </summary>
         Right,
+
         /// <summary>
         /// Hides in the right, but small handler will show only
         /// </summary>