summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeonghyun Yun <jh0506.yun@samsung.com>2017-07-04 02:06:57 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-07-04 02:06:58 +0000
commitdbe2060d111bb7bac37bd24a82a0022624d77cc1 (patch)
tree04182dad943eaa42d1ffee67f136ea9c4564d82c
parentcf269f636fc9e7e90428bf84532a62b65bbe7c02 (diff)
parent38c42de69d6a35ba7cc15fc9b2a80ca835530fab (diff)
downloadelm-sharp-dbe2060d111bb7bac37bd24a82a0022624d77cc1.tar.gz
elm-sharp-dbe2060d111bb7bac37bd24a82a0022624d77cc1.tar.bz2
elm-sharp-dbe2060d111bb7bac37bd24a82a0022624d77cc1.zip
Merge "Remove FloatingButton.Click event" into tizen
-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>