Skip to main content

FloatingActionButtonSettings.ContainerElementID Property

Specifies the ID of the HTML element or web control on the page.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string ContainerElementID { get; set; }

Property Value

Type Description
String

A string value that specifies the container element ID.

Remarks

Use the ContainerElementID property to associate the floating action button with any HTML element or web control on a page. The floating action button will be displayed in front of the container. FAB-ContainerElement

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" class="content">
...
</div>

Refer to the Floating Action Button topic for more information.

See Also