Back to Devexpress

FloatingActionButtonSettings.ContainerElementID Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-floatingactionbuttonsettings.md

latest1.8 KB
Original Source

FloatingActionButtonSettings.ContainerElementID Property

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

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public string ContainerElementID { get; set; }
vb
Public Property ContainerElementID As String

Property Value

TypeDescription
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.

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

Refer to the Floating Action Button topic for more information.

See Also

FloatingActionButtonSettings Class

FloatingActionButtonSettings Members

DevExpress.Web.Mvc Namespace