Back to Devexpress

ASPxClientFloatingActionButton.SetContainerElement(element) Method

aspnet-js-aspxclientfloatingactionbutton-dot-setcontainerelement-x28-element-x29.md

latest1.3 KB
Original Source

ASPxClientFloatingActionButton.SetContainerElement(element) Method

Specifies the floating action button’s container element.

Declaration

ts
SetContainerElement(
    element: any
): void

Parameters

NameTypeDescription
elementany

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.

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

Concept

Floating Action Button

Online Demo

Floating Action Button - Features

See Also

ASPxClientFloatingActionButton Class

ASPxClientFloatingActionButton Members