Class FloatingButton
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
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. |
Properties
View SourceMode
Sets or gets the floatingbutton mode.
Declaration
public FloatingButtonMode Mode { get; set; }
Property Value
Type | Description |
---|---|
FloatingButtonMode |
MovementBlock
Sets or gets the movability for a given FloatingButton widget.
Declaration
public bool MovementBlock { get; set; }
Property Value
Type | Description |
---|---|
bool |
Opacity
Gets the opacity's value of the given FloatingButton.
Declaration
public override int Opacity { get; set; }
Property Value
Type | Description |
---|---|
int |
Overrides
View SourcePosition
Gets the floatingbutton position.
Declaration
public FloatingButtonPosition Position { get; }
Property Value
Type | Description |
---|---|
FloatingButtonPosition |
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 |
---|---|
System.IntPtr | Handle IntPtr. |
Overrides
View SourceSetPosition(FloatingButtonPosition, bool)
Set the floatingbutton position with or without animation.
Declaration
public void SetPosition(FloatingButtonPosition position, bool animated)
Parameters
Type | Name | Description |
---|---|---|
FloatingButtonPosition | position | Button position. |
bool | animated | Animation flag. |