Show / Hide Table of Contents

    Class FloatingButton

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll
    API Level:
    preview

    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.

    API Level: preview

    Properties

    View Source

    Mode

    Sets or gets the floatingbutton mode.

    Declaration
    public FloatingButtonMode Mode { get; set; }
    Property Value
    Type Description
    FloatingButtonMode
    API Level: preview
    View Source

    MovementBlock

    Sets or gets the movability for a given FloatingButton widget.

    Declaration
    public bool MovementBlock { get; set; }
    Property Value
    Type Description
    Boolean
    API Level: preview
    View Source

    Opacity

    Gets the opacity's value of the given FloatingButton.

    Declaration
    public override int Opacity { get; set; }
    Property Value
    Type Description
    Int32
    Overrides
    Widget.Opacity
    API Level: preview
    View Source

    Position

    Gets the floatingbutton position.

    Declaration
    public FloatingButtonPosition Position { get; }
    Property Value
    Type Description
    FloatingButtonPosition
    API Level: preview

    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
    IntPtr

    Handle IntPtr.

    Overrides
    Layout.CreateHandle(EvasObject)
    API Level: preview
    View Source

    SetPosition(FloatingButtonPosition, Boolean)

    Set the floatingbutton position with or without animation.

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

    Button position.

    Boolean animated

    Animation flag.

    API Level: preview

    Implements

    IAccessibleObject

    Extension Methods

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