The DevExpress ASP.NET MVC Floating Action Button (FloatingActionButtonExtension) is a button that appears in front of a container (HTML element or an extension) when an end user interacts with the container's elements.
The following types of floating action buttons are available:
- FAB with a single action - Executes the action once an end user clicks the floating action button.
- FAB with multiple actions - The floating action button serves as a container for multiple actions. When pressed, the floating action button expands nested actions.
The floating action button provides client-side APIs that allow you to specify which type of FAB should be displayed (SetActionContext, GetActionContext), change the horizontal/vertical position (SetHorizontalPosition, SetVerticalPosition), and container element (SetContainerElement, SetContainerElementID).
In this demo, use the options on the right to change the extension's settings and see how they affect the floating action button.
Local Copy of this Demo To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer. |
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxNavigationAndLayoutDemos |