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
- Implements
Constructors
View SourceFloatingButton(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 SourceMode
Sets or gets the floatingbutton mode.
Declaration
public FloatingButtonMode Mode { get; set; }
Property Value
Type | Description |
---|---|
FloatingButtonMode |
API Level: preview
View SourceMovementBlock
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 SourceOpacity
Gets the opacity's value of the given FloatingButton.
Declaration
public override int Opacity { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Overrides
API Level: preview
View SourcePosition
Gets the floatingbutton position.
Declaration
public FloatingButtonPosition Position { get; }
Property Value
Type | Description |
---|---|
FloatingButtonPosition |
API Level: preview
Methods
View SourceCreateHandle(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
API Level: preview
View SourceSetPosition(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. |