Class FloatingButton

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll

    The FloatingButton is a widget to add the floating area for buttons.

    public class FloatingButton : Layout, IAccessibleObject
    Inheritance
    object
    EvasObject
    AccessibleObject
    Widget
    Container
    Layout
    FloatingButton
    Implements
    IAccessibleObject

    Constructors

    View Source

    FloatingButton(EvasObject)

    Creates and initializes a new instance of the FloatingButton class.

    Declaration
    public FloatingButton(EvasObject parent)
    Parameters
    Type Name Description
    EvasObject parent

    Created on this parent container.

    Properties

    View Source

    Mode

    Sets or gets the floatingbutton mode.

    Declaration
    public FloatingButtonMode Mode { get; set; }
    Property Value
    Type Description
    FloatingButtonMode
    View Source

    MovementBlock

    Sets or gets the movability for a given FloatingButton widget.

    Declaration
    public bool MovementBlock { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Opacity

    Gets the opacity's value of the given FloatingButton.

    Declaration
    public override int Opacity { get; set; }
    Property Value
    Type Description
    int
    Overrides
    Widget.Opacity
    View Source

    Position

    Gets the floatingbutton position.

    Declaration
    public FloatingButtonPosition Position { get; }
    Property Value
    Type Description
    FloatingButtonPosition

    Methods

    View Source

    CreateHandle(EvasObject)

    Creates a widget handle.

    Declaration
    protected override IntPtr CreateHandle(EvasObject parent)
    Parameters
    Type Name Description
    EvasObject parent

    Parent EvasObject.

    Returns
    Type Description
    System.IntPtr

    Handle IntPtr.

    Overrides
    Layout.CreateHandle(EvasObject)
    View Source

    SetPosition(FloatingButtonPosition, bool)

    Set the floatingbutton position with or without animation.

    Declaration
    public void SetPosition(FloatingButtonPosition position, bool animated)
    Parameters
    Type Name Description
    FloatingButtonPosition position

    Button position.

    bool animated

    Animation flag.

    Implements

    IAccessibleObject

    Extension Methods

    RotaryEventExtensions.Activate(EvasObject)
    RotaryEventExtensions.AddRotaryEventHandler(EvasObject, RotaryEventHandler)
    RotaryEventExtensions.Deactivate(EvasObject)
    RotaryEventExtensions.RemoveRotaryEventHandler(EvasObject, RotaryEventHandler)
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX