summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsung-su.kim <sung-su.kim@samsung.com>2017-07-03 10:17:26 +0900
committerSung-su Kim <sung-su.kim@samsung.com>2017-07-04 01:21:38 +0000
commit38c42de69d6a35ba7cc15fc9b2a80ca835530fab (patch)
tree7c64e480fe8128a74b91c8754b794d14a235a997
parent27db8e6d13e172abe53fda9c807c2e85b90d9b5c (diff)
downloadelm-sharp-38c42de69d6a35ba7cc15fc9b2a80ca835530fab.tar.gz
elm-sharp-38c42de69d6a35ba7cc15fc9b2a80ca835530fab.tar.bz2
elm-sharp-38c42de69d6a35ba7cc15fc9b2a80ca835530fab.zip
Remove FloatingButton.Click event
- FloatingButton does not provide click event Change-Id: Iba5ba335d884378597261b1f93ecb40b27c5baef
-rwxr-xr-xElmSharp/ElmSharp/FloatingButton.cs13
1 files changed, 5 insertions, 8 deletions
diff --git a/ElmSharp/ElmSharp/FloatingButton.cs b/ElmSharp/ElmSharp/FloatingButton.cs
index 37b157a..5252a1f 100755
--- a/ElmSharp/ElmSharp/FloatingButton.cs
+++ b/ElmSharp/ElmSharp/FloatingButton.cs
@@ -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>