Class FloatingButton

Definition

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

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

C#
Copy
public class FloatingButton : Layout, IAccessibleObject
Inheritance
System.Object
FloatingButton
Implements

Constructors

View Source

FloatingButton(EvasObject)

Creates and initializes a new instance of the FloatingButton class.

Declaration
C#
Copy
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
C#
Copy
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
C#
Copy
public bool MovementBlock { get; set; }
Property Value
Type Description
System.Boolean
API Level: preview
View Source

Opacity

Gets the opacity's value of the given FloatingButton.

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

Position

Gets the floatingbutton position.

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

Methods

View Source

CreateHandle(EvasObject)

Creates a widget handle.

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

Parent EvasObject.

Returns
Type Description
System.IntPtr

Handle IntPtr.

Overrides
API Level: preview
View Source

SetPosition(FloatingButtonPosition, Boolean)

Set the floatingbutton position with or without animation.

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

Button position.

System.Boolean animated

Animation flag.

API Level: preview

Implements

Extension Methods