Class FloatingButton
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
The FloatingButton is a widget to add the floating area for buttons.
C#Copypublic class FloatingButton : Layout, IAccessibleObject
- Inheritance
- Implements
Constructors
View Source
FloatingButton(EvasObject)
Creates and initializes a new instance of the FloatingButton class.
Declaration
C#Copypublic FloatingButton(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | Created on this parent container. |
API Level: preview
Properties
Declaration
C#Copypublic FloatingButtonMode Mode { get; set; }
Property Value
Type | Description |
---|---|
FloatingButtonMode |
API Level: preview
Declaration
C#Copypublic bool MovementBlock { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
API Level: preview
Declaration
C#Copypublic override int Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
API Level: preview
Declaration
C#Copypublic FloatingButtonPosition Position { get; }
Property Value
Type | Description |
---|---|
FloatingButtonPosition |
API Level: preview
Methods
Declaration
C#Copyprotected 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#Copypublic void SetPosition(FloatingButtonPosition position, bool animated)
Parameters
Type | Name | Description |
---|---|---|
FloatingButtonPosition | position | Button position. |
System.Boolean | animated | Animation flag. |