Skip to main content
A newer version of this page is available. .

ASPxClientFloatingActionButton.SetContainerElement(element) Method

Specifies the floating action button’s container element.

Declaration

SetContainerElement(
    element: any
): void

Parameters

Name Type Description
element any

An object that specifies the HTML element or a web control on the page that is the container element for the floating action button.

Remarks

Use the ASPxFloatingActionButton.ContainerElementID property to specify the ID of the HTML element or web control on the page.

Note

The HTML element or a web control should be positioned relative to its normal position.

<style type="text/css">
    #content {
        position: relative;
    }
</style>
...
<div id="content">
...
</div>

Concept

Floating Action Button

Online Demo

Floating Action Button - Features

See Also