Class FloatingButton
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
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. |
Properties
Declaration
C#Copypublic FloatingButtonMode Mode { get; set; }
Property Value
Type | Description |
---|---|
FloatingButtonMode |
Declaration
C#Copypublic bool MovementBlock { get; set; }
Property Value
Type | Description |
---|---|
bool |
Declaration
C#Copypublic override int Opacity { get; set; }
Property Value
Type | Description |
---|---|
int |
Overrides
Declaration
C#Copypublic FloatingButtonPosition Position { get; }
Property Value
Type | Description |
---|---|
FloatingButtonPosition |
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
View Source
SetPosition(FloatingButtonPosition, bool)
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. |
bool | animated | Animation flag. |