FloatingButton
ReferencesBase class for button UI elements that float in screen-space on top of IControl.
Properties
Anchor
#public PointF Anchor { get; }
Gets the anchor position of this button. This property is only relevant if Position == Anchored.
HasFocus
#Gets or sets whether this interaction object is currently active. Object are made active by the owner control if they return Response.Capture from any event handlers. Control are made inactive when they return Response.Release, or when another object becomes active. You typically do not set this property.
Methods
MakeNumeric
#Turn this button into a numeric slider.
ModifyAnchor
#Set a new anchor point. Handler is not required to modify the anchor animator in this case.
Parameters:
| anchor (PointF) | New point. |
| immediate (bool) | If true, the button is moved immediately. If false, the change is gradual. |
ModifyColour
#public void ModifyColour(Color colour)
Set a new colour.
Parameters:
| colour (Color) | New colour. |