A component that lets you render a primary action button floating over content. Supports theme color and roundness, fixed/absolute positioning, top/bottom and start/end alignment, and configurable offsets.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikFloatingActionButton : ButtonBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentButtonBaseTelerikFloatingActionButton
Implements:
Inherited Members
Constructors
public TelerikFloatingActionButton()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
Properties
Specifies horizontal alignment of the button. Default value is End.
[Parameter]
public FloatingActionButtonHorizontalAlign HorizontalAlign { get; set; }
The horizontal offset value added to the button position, creating a blank space between the button and the parent.
[Parameter]
public string HorizontalOffset { get; set; }
The Click handler of the button.
[Parameter]
public EventCallback<MouseEventArgs> OnClick { get; set; }
Specifies CSS position of the button. Default value is Fixed.
[Parameter]
public FloatingActionButtonPositionMode PositionMode { get; set; }
Specifies the roundness of the button.
[Parameter]
public override string Rounded { get; set; }
Overrides:
Specifies the theme color of the button.
[Parameter]
public override string ThemeColor { get; set; }
Overrides:
Specifies vertical alignment of the button. Default value is Bottom.
[Parameter]
public FloatingActionButtonVerticalAlign VerticalAlign { get; set; }
The vertical offset value added to the button position, creating a blank space between the button and the parent.
[Parameter]
public string VerticalOffset { get; set; }